Skip to content

Commit 123977d

Browse files
Workflow
1 parent 35cc000 commit 123977d

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

.github/workflows/publish_release.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,6 @@ jobs:
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
@@ -98,7 +79,7 @@ jobs:
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"

0 commit comments

Comments
 (0)