This file contains 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 readme ⭐️ progress | |
on: | |
# !Please set a different minute than 51 if you enable this! | |
# schedule: | |
# - cron: "51 */6 * * *" # Every 6 hours | |
push: | |
workflow_dispatch: | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
if: ${{ vars.AOC_ENABLED == 'true' }} | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: k2bd/advent-readme-stars@v1 | |
with: | |
userId: ${{ secrets.AOC_USER_ID }} | |
sessionCookie: ${{ secrets.AOC_SESSION }} | |
year: ${{ secrets.AOC_YEAR }} | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "update readme progress" |