2022-10-17 14:43:04 +02:00
|
|
|
name: Update readme ⭐️ progress
|
2022-10-17 11:03:22 +02:00
|
|
|
|
2021-12-29 14:12:01 +01:00
|
|
|
on:
|
2022-12-01 16:28:05 +01:00
|
|
|
# !Please set a different minute than 51 if you enable this!
|
|
|
|
# schedule:
|
|
|
|
# - cron: "51 */6 * * *" # Every 6 hours
|
2022-10-17 11:03:22 +02:00
|
|
|
workflow_dispatch:
|
2021-12-29 14:12:01 +01:00
|
|
|
|
|
|
|
jobs:
|
2022-10-17 11:03:22 +02:00
|
|
|
update-readme:
|
|
|
|
runs-on: ubuntu-latest
|
2023-11-24 09:25:37 +01:00
|
|
|
if: ${{ vars.AOC_ENABLED == 'true' }}
|
|
|
|
permissions:
|
|
|
|
contents: write
|
2022-10-17 11:03:22 +02:00
|
|
|
steps:
|
2023-11-24 09:25:37 +01:00
|
|
|
- uses: actions/checkout@v4
|
2022-10-17 11:03:22 +02:00
|
|
|
- uses: k2bd/advent-readme-stars@v1
|
|
|
|
with:
|
|
|
|
userId: ${{ secrets.AOC_USER_ID }}
|
|
|
|
sessionCookie: ${{ secrets.AOC_SESSION }}
|
|
|
|
year: ${{ secrets.AOC_YEAR }}
|
2023-11-24 09:25:37 +01:00
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
2022-10-17 11:03:22 +02:00
|
|
|
with:
|
2023-12-01 15:37:21 +01:00
|
|
|
commit_message: "update readme progress"
|