File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,14 @@ jobs:
4848 - name : Configure Git
4949 if : steps.check_changes.outputs.changed == 'true'
5050 run : |
51- git config --local user.email "action @github.com"
52- git config --local user.name " GitHub Action"
51+ git config --global user.email 'actions @github.com'
52+ git config --global user.name ' GitHub Actions Bot'
5353
5454 - name : Commit and push changes
5555 if : steps.check_changes.outputs.changed == 'true'
56+ env :
57+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5658 run : |
5759 git add .
5860 git commit -m "chore: update Java SDK from latest OpenAPI specification" || exit 0
59- git push
61+ git push https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git HEAD:${{ github.ref }}
You can’t perform that action at this time.
0 commit comments