File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11name : Update Readme
2-
32on :
43 workflow_dispatch :
54 schedule :
65 - cron : " 30 0 * * *"
7-
86jobs :
97 update-followers :
108 runs-on : ubuntu-latest
@@ -18,13 +16,14 @@ jobs:
1816 cd scripts && npm install && ACCESS_TOKEN=${{ secrets.ACCESS_TOKEN }} npm run get:posts
1917 - name : Commit changes
2018 run : |
21- git config --local user.email "github-actions[bot]@users.noreply.github.com "
22- git config --local user.name "github-actions[bot] "
19+ git config --local user.email "${{ secrets.GIT_EMAIL }} "
20+ git config --local user.name "${{ secrets.GIT_USERNAME }} "
2321 git add -A
2422 git diff-index --quiet HEAD || git commit -m "Updated README.md"
2523 - name : Pull changes
2624 run : git pull -r
2725 - name : Push changes
28- uses : ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df
26+ uses : ad-m/github-push-action@master
2927 with :
30- ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
28+ github_token : ${{ secrets.GITHUB_TOKEN }}
29+ branch : ${{ github.ref }}
You can’t perform that action at this time.
0 commit comments