Worfkflow
This commit is contained in:
parent
9fb8d1b3ba
commit
46b1b4e0cf
7
.github/workflows/move-to-main-repo.yaml
vendored
7
.github/workflows/move-to-main-repo.yaml
vendored
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user