From e942798b5eb17e0a1426d9084d2ab821dcd3bf28 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 18 Mar 2025 13:46:40 +0100 Subject: [PATCH] Workflow update --- .github/workflows/move-to-main-repo.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 6b2ab06eb..9e185f903 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -20,8 +20,8 @@ jobs: id: app-token uses: actions/create-github-app-token@v1 with: - app-id: ${{ vars.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} + app-id: ${{ vars.PUSH_MAIN_APP_ID }} + private-key: ${{ secrets.PUSH_MAIN_APP_SECRET }} owner: community-scripts repositories: | ProxmoxVE @@ -128,7 +128,7 @@ jobs: - name: Clone ProxmoxVE (Target Repo) run: | script_name="${{ steps.list_issues.outputs.script_name }}" - git clone https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE + git clone https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE cd ProxmoxVE if [[ -f "ct/${script_name}.sh" ]]; then @@ -166,7 +166,7 @@ jobs: - name: Create Pull Request in ProxmoxVE id: create_pull_request env: - GITHUB_TOKEN: ${{ secrets.GH_MERGE_PAT }} + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} run: | script_name="${{ steps.list_issues.outputs.script_name }}" gh pr create \