File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,19 @@ jobs:
1717 sync :
1818 name : " Update proto"
1919 runs-on : ubuntu-latest
20- permissions :
21- contents : write
2220
2321 defaults :
2422 run :
2523 shell : bash
2624
2725 steps :
2826 - name : Checkout
29- uses : actions/checkout@v3
27+ uses : actions/checkout@v2
3028 with :
3129 submodules : true
32- persist-credentials : true
30+ persist-credentials : false
3331
34- - uses : actions/setup-go@v3
32+ - uses : actions/setup-go@v2
3533 with :
3634 go-version : " 1.20"
3735
@@ -42,15 +40,14 @@ jobs:
4240 - name : Re-build proto
4341 run : |
4442 make install update-proto test
45-
4643 - name : Commit update
4744 env :
4845 GIT_AUTHOR_NAME : ${{ github.event.inputs.commit_author }}
4946 GIT_AUTHOR_EMAIL : ${{ github.event.inputs.commit_author_email }}
5047 GIT_COMMITTER_NAME : ${{ github.event.inputs.commit_author }}
5148 GIT_COMMITTER_EMAIL : ${{ github.event.inputs.commit_author_email }}
5249 run : |
53- git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
50+ git remote set-url origin https://x-access-token:${{ secrets.COMMANDER_DATA_TOKEN }}@github.com/${{ github.repository }}
5451 git add .
5552 git commit -m "${{ github.event.inputs.commit_message }}"
5653 if [ $? -eq 0 ]; then
You can’t perform that action at this time.
0 commit comments