File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Update Rolldown Stats
22
33on :
4- pull_request :
5- types : [opened, synchronize ]
4+ push :
5+ branches : [main ]
66 paths :
77 - ' apps/dashboard/**'
88
99permissions :
1010 contents : write
11- pull-requests : read
1211
1312jobs :
1413 update-stats :
1918 uses : actions/checkout@v5
2019 with :
2120 token : ${{ secrets.GITHUB_TOKEN }}
22- ref : ${{ github.head_ref }}
2321 fetch-depth : 0
2422
2523 - name : Setup Node.js LTS
@@ -67,11 +65,11 @@ jobs:
6765 - name : Commit and push changes
6866 if : steps.git-check.outputs.changes == 'true'
6967 run : |
70- git config --local user.email "action@github .com"
71- git config --local user.name "GitHub Action "
68+ git config --local user.email "boshen@gmail .com"
69+ git config --local user.name "Boshen "
7270 git add rolldown-version-stats.json
7371 git commit -m "chore: update rolldown version stats"
74- git push origin HEAD:${{ github.head_ref }}
72+ git push origin main
7573
7674 - name : No changes to commit
7775 if : steps.git-check.outputs.changes != 'true'
You can’t perform that action at this time.
0 commit comments