File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22version = 1
33
44[approve ]
5- auto_approve_usernames = [" cq-bot " ]
5+ auto_approve_usernames = [" cloudquery-ci " ]
66
77[merge .message ]
88body = " pull_request_body"
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 timeout-minutes : 10
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
1219 - name : Trigger plugin-pb-go code generation
1320 uses : actions/github-script@v6
1421 with :
15- github-token : ${{ secrets.GH_CQ_BOT }}
22+ github-token : ${{ steps.app-token.outputs.token }}
1623 script : |
1724 github.rest.actions.createWorkflowDispatch({
1825 owner: 'cloudquery',
2330 - name : Trigger plugin-pb-python code generation
2431 uses : actions/github-script@v6
2532 with :
26- github-token : ${{ secrets.GH_CQ_BOT }}
33+ github-token : ${{ steps.app-token.outputs.token }}
2734 script : |
2835 github.rest.actions.createWorkflowDispatch({
2936 owner: 'cloudquery',
3441 - name : Trigger plugin-pb-java code generation
3542 uses : actions/github-script@v6
3643 with :
37- github-token : ${{ secrets.GH_CQ_BOT }}
44+ github-token : ${{ steps.app-token.outputs.token }}
3845 script : |
3946 github.rest.actions.createWorkflowDispatch({
4047 owner: 'cloudquery',
4552 - name : Trigger plugin-pb-javascript code generation
4653 uses : actions/github-script@v6
4754 with :
48- github-token : ${{ secrets.GH_CQ_BOT }}
55+ github-token : ${{ steps.app-token.outputs.token }}
4956 script : |
5057 github.rest.actions.createWorkflowDispatch({
5158 owner: 'cloudquery',
You can’t perform that action at this time.
0 commit comments