From 65b4f65772e7ae20bb1d65a17a589cbef3470ee9 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:08:46 +0100 Subject: [PATCH 1/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 aaa184c..d570926 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -16,8 +16,8 @@ jobs: id: generate-token uses: actions/create-github-app-token@v1 with: - app-id: ${{ vars.MAIN_APP_ID }} - private-key: ${{ secrets.MAIN_APP_PRIVATE_KEY }} + app-id: ${{ vars.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout repository uses: actions/checkout@v4 @@ -27,7 +27,7 @@ jobs: - name: List Issues in Repository id: list_issues env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ steps.generate-token.outputs.token }} run: | echo "Filtering Issues with Label MigrationTest" From bd96b23abba046358dc10a32509443bf99960ffc Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:14:26 +0100 Subject: [PATCH 2/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 d570926..824375d 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -23,6 +23,7 @@ jobs: uses: actions/checkout@v4 with: ref: main + token: ${{ steps.generate-token.outputs.token }} - name: List Issues in Repository id: list_issues From 237a66056b9f6180cc55ce4920caa5920e15e416 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:15:31 +0100 Subject: [PATCH 3/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 824375d..aa42e3d 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -23,6 +23,7 @@ jobs: uses: actions/checkout@v4 with: ref: main + repository: "community-scripts/ProxmoxVE" token: ${{ steps.generate-token.outputs.token }} - name: List Issues in Repository From 85b0a053474dd8a84925a59c9c9c6986dd6acf8e Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:18:03 +0100 Subject: [PATCH 4/5] WF --- .github/workflows/move-to-main-repo.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index aa42e3d..824375d 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -23,7 +23,6 @@ jobs: uses: actions/checkout@v4 with: ref: main - repository: "community-scripts/ProxmoxVE" token: ${{ steps.generate-token.outputs.token }} - name: List Issues in Repository From 1a173751081b7d66984acf989850a6305852c200 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 11:19:02 +0100 Subject: [PATCH 5/5] WF --- .github/workflows/move-to-main-repo.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 824375d..c3d8448 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -93,6 +93,8 @@ jobs: git commit -m "$commit_message" + gh auth status + git push upstream "$branch_name" gh pr create --base main --head "$branch_name" --title "$commit_message" --body "This PR adds the script files for $script_name." -R $target_repo