File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 11version = 1
22
33[approve ]
4- auto_approve_usernames = [" cq-bot " ]
4+ auto_approve_usernames = [" cloudquery-ci " ]
55
66[merge .message ]
77body = " pull_request_body"
Original file line number Diff line number Diff line change 99 timeout-minutes : 30
1010 runs-on : ubuntu-latest
1111 steps :
12+ - name : Generate GitHub App token
13+ id : app-token
14+ uses : actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
15+ with :
16+ app-id : ${{ secrets.CQ_APP_ID }}
17+ private-key : ${{ secrets.CQ_APP_PRIVATE_KEY }}
18+ permission-contents : write
19+ permission-pull-requests : write
1220 - name : Checkout
1321 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1422 - name : Set up Python
@@ -27,11 +35,10 @@ jobs:
2735 uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
2836 with :
2937 # required so the PR triggers workflow runs
30- token : ${{ secrets.GH_CQ_BOT }}
38+ token : ${{ steps.app-token.outputs.token }}
3139 branch : fix/gen_proto
3240 base : main
3341 title : " fix: Generate Python Code from `plugin-pb`"
3442 commit-message : " fix: Generate Python Code from `plugin-pb`"
3543 body : This PR was created by a scheduled workflow to regenerate the Python code from `plugin-pb`.
36- author : cq-bot <cq-bot@users.noreply.github.com>
3744 labels : automerge
Original file line number Diff line number Diff line change 1111 release-please :
1212 runs-on : ubuntu-latest
1313 steps :
14+ - name : Generate GitHub App token
15+ id : app-token
16+ uses : actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
17+ with :
18+ app-id : ${{ secrets.CQ_APP_ID }}
19+ private-key : ${{ secrets.CQ_APP_PRIVATE_KEY }}
20+ permission-contents : write
21+ permission-pull-requests : write
1422 - uses : google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4
1523 id : release
1624 with :
17- token : ${{ secrets.GH_CQ_BOT }}
25+ token : ${{ steps.app-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments