From 46b1b4e0cf133bbf8798a79c8d7a78578ad8ddb0 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 18 Mar 2025 09:25:48 +0100 Subject: [PATCH] Worfkflow --- .github/workflows/move-to-main-repo.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 197eb5a..b04cca1 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -148,10 +148,11 @@ jobs: --base main \ --title "Migrate $script_name to ProxmoxVE" \ --body "Automated migration of $script_name from ProxmoxVED to ProxmoxVE." - pr_number=$(gh pr list --json number --limit 1 | jq -r '.[0].number') - echo "pr_number=$pr_number" >> $GITHUB_ENV + PR_NUMBER=$(gh pr list --head "$branch_name" --json number --jq '.[].number') + echo "PR_NUMBER=$PR_NUMBER" + echo "pr_number=$PR_NUMBER" >> $GITHUB_ENV - - name: + - name: Comment on Issue if: steps.create_pull_request.outputs.pr_number env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}