File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Checkout repo
1515 uses : actions/checkout@v4
16-
17- - name : Generate a token
18- id : generate-token
19- uses : actions/create-github-app-token@v2
20- with :
21- app-id : ${{ secrets.APP_ID_APPROVE_AND_MERGE }}
22- private-key : ${{ secrets.APP_KEY_APPROVE_AND_MERGE }}
23- owner : community-scripts
24- repositories : ProxmoxVE-Local
25-
26- - name : Generate a token for PR approval and merge
27- id : generate-token-merge
28- uses : actions/create-github-app-token@v2
29- with :
30- app-id : ${{ secrets.APP_ID_APPROVE_AND_MERGE }}
31- private-key : ${{ secrets.APP_KEY_APPROVE_AND_MERGE }}
32- owner : community-scripts
33- repositories : ProxmoxVE-Local
34-
3516
3617 - name : Get latest draft release
3718 id : draft
9879 - name : Approve pull request and merge
9980 if : env.changed == 'true'
10081 env :
101- GH_TOKEN : ${{ steps.generate-token-merge.outputs.token }}
82+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
10283 run : |
10384 git config --global user.name "github-actions-automege[bot]"
10485 git config --global user.email "github-actions-automege[bot]@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments