File tree Expand file tree Collapse file tree 1 file changed +26
-16
lines changed Expand file tree Collapse file tree 1 file changed +26
-16
lines changed Original file line number Diff line number Diff line change 1- name : Update README ⭐
1+ name : Update readme progress tracker
2+
23on :
3- schedule :
4- - cron : " 51 */4 * * *" # Every 4 hours
5- workflow_dispatch :
4+ schedule :
5+ - cron : " 51 */4 * * *" # Every 4 hours
6+ workflow_dispatch :
67
78jobs :
8- update-readme :
9- runs-on : ubuntu-latest
10- steps :
11- - uses : actions/checkout@v2
12- - uses : k2bd/advent-readme-stars@v1
13- with :
14- userId : ${{ secrets.AOC_USER_ID }}
15- sessionCookie : ${{ secrets.AOC_SESSION }}
16- year : ${{ secrets.AOC_YEAR }}
17- - uses : stefanzweifel/git-auto-commit-action@v4
18- with :
19- commit_message : Update README stars
9+ update-readme :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ if : ${{ env.AOC_ENABLED }}
14+ env :
15+ AOC_ENABLED : ${{ secrets.AOC_ENABLED }}
16+ - uses : k2bd/advent-readme-stars@v1
17+ if : ${{ env.AOC_ENABLED }}
18+ env :
19+ AOC_ENABLED : ${{ secrets.AOC_ENABLED }}
20+ with :
21+ userId : ${{ secrets.AOC_USER_ID }}
22+ sessionCookie : ${{ secrets.AOC_SESSION }}
23+ year : ${{ secrets.AOC_YEAR }}
24+ - uses : stefanzweifel/git-auto-commit-action@v4
25+ if : ${{ env.AOC_ENABLED }}
26+ env :
27+ AOC_ENABLED : ${{ secrets.AOC_ENABLED }}
28+ with :
29+ commit_message : " update readme progess"
You can’t perform that action at this time.
0 commit comments