👩💻 Update Recent Activity #1499
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: 👩💻 Update Recent Activity | |
on: | |
schedule: | |
- cron: "0 */6 * * *" # Run every 6 hours | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Update this repo's README with recent activity | |
steps: | |
- name: ↘️ Checkout | |
uses: actions/checkout@v2 | |
- name: ↗️ Update activity in README.md | |
uses: lissy93/github-activity-readme@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COMMIT_MSG: "⚡ Update recent activity" | |
with: | |
MAX_LINES: 5 | |
- name: ↗️ Add activity to file | |
uses: lissy93/github-activity-readme@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COMMIT_MSG: "⚡ Update recent activity" | |
with: | |
MAX_LINES: 100 | |
TARGET_FILE: "./RECENT-ACTIVITY.md" |