Update GH Activity #5619
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 GH Activity | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # Runs every 2 hours | |
| - cron: '0 */2 * * *' | |
| jobs: | |
| update-activity: | |
| name: Update this repo's README with recent activity | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: jamesgeorge007/github-activity-readme@master | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| with: | |
| COMMIT_MSG: 'Chore: Update Activity' | |
| MAX_LINES: 10 | |
| GH_USERNAME: tooniez | |
| TARGET_FILE: 'README.md' | |
| EMPTY_COMMIT_MSG: 'Chore: No activity' |