From cda865c47c4684966ddc64ae73518a68f53fe1c9 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:21:13 +0100 Subject: [PATCH 1/5] WF --- .github/workflows/move-to-main-repo.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index c3d8448..05c3158 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -7,9 +7,13 @@ jobs: move-to-main-repo: runs-on: ubuntu-latest permissions: + deployments: write contents: write - pull-requests: write + statuses: write actions: write + checks: write + issues: write + pull-requests: write steps: - name: Generate a token From 5133b2b4e533597945a3c41f992a36cf89e33c27 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:22:35 +0100 Subject: [PATCH 2/5] WF --- .github/workflows/move-to-main-repo.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 05c3158..0e9ad1b 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -20,8 +20,8 @@ jobs: id: generate-token uses: actions/create-github-app-token@v1 with: - app-id: ${{ vars.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} + app-id: ${{ vars.MAIN_APP_ID }} + private-key: ${{ secrets.MAIN_APP_PRIVATE_KEY }} - name: Checkout repository uses: actions/checkout@v4 @@ -97,7 +97,7 @@ jobs: git commit -m "$commit_message" - gh auth status + gh auth login --with-token $GH_TOKEN git push upstream "$branch_name" From eb8527cec138b4686812e477e8bce1c7f21b27c1 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:23:21 +0100 Subject: [PATCH 3/5] WF --- .github/workflows/move-to-main-repo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 0e9ad1b..1b73983 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -97,7 +97,7 @@ jobs: git commit -m "$commit_message" - gh auth login --with-token $GH_TOKEN + gh auth status git push upstream "$branch_name" From 0ff3df16226c7b560af08c3c4ac93e0daefab484 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:29:31 +0100 Subject: [PATCH 4/5] WF --- .github/workflows/move-to-main-repo.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 1b73983..35bfd73 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -28,6 +28,7 @@ jobs: with: ref: main token: ${{ steps.generate-token.outputs.token }} + repository: community-scripts/ProxmoxVE - name: List Issues in Repository id: list_issues From bd7714ef9235835243bc6fddd19af11d19eef056 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:30:59 +0100 Subject: [PATCH 5/5] WF --- .github/workflows/move-to-main-repo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 35bfd73..c63ae63 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -28,7 +28,7 @@ jobs: with: ref: main token: ${{ steps.generate-token.outputs.token }} - repository: community-scripts/ProxmoxVE + persist-credentials: "false" - name: List Issues in Repository id: list_issues