From ff298ffc0078ae8b6da6a0a62cb07d295f5e5427 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 18 Mar 2025 09:18:01 +0100 Subject: [PATCH] Workflow --- .github/workflows/move-to-main-repo.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 37efb4a..0a7a95d 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -148,3 +148,12 @@ 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 + + - name: + if: steps.create_pull_request.outputs.pr_number + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh issue comment ${{ steps.list_issues.outputs.issue_nr }} --body "A PR has been created for ${{ steps.list_issues.outputs.script_name }}: community-scripts/ProxmoxVE#${{ steps.create_pull_request.outputs.pr_number }}"