Worfkflow

This commit is contained in:
Michel Roegl-Brunner 2025-03-18 09:25:48 +01:00
parent 9fb8d1b3ba
commit 46b1b4e0cf

View File

@ -148,10 +148,11 @@ jobs:
--base main \ --base main \
--title "Migrate $script_name to ProxmoxVE" \ --title "Migrate $script_name to ProxmoxVE" \
--body "Automated migration of $script_name from ProxmoxVED 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') PR_NUMBER=$(gh pr list --head "$branch_name" --json number --jq '.[].number')
echo "pr_number=$pr_number" >> $GITHUB_ENV 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 if: steps.create_pull_request.outputs.pr_number
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}