Workflow
This commit is contained in:
parent
0e532e2cca
commit
c76852282a
3
.github/workflows/move-to-main-repo.yaml
vendored
3
.github/workflows/move-to-main-repo.yaml
vendored
@ -102,6 +102,7 @@ jobs:
|
||||
|
||||
- name: Prepare branch name
|
||||
run: |
|
||||
script_name="${{ steps.list_issues.outputs.script_name }}"
|
||||
branch_name="add-script-${script_name//[^a-zA-Z0-9_-]/}"
|
||||
echo "Using branch: $branch_name"
|
||||
echo "branch_name=$branch_name" >> $GITHUB_ENV
|
||||
@ -157,7 +158,7 @@ jobs:
|
||||
--base main \
|
||||
--title "Migrate $script_name to ProxmoxVE" \
|
||||
--body "Automated migration of $script_name from ProxmoxVED to ProxmoxVE."
|
||||
PR_NUMBER=$(gh pr list --head "$branch_name" --json number --jq '.[].number')
|
||||
PR_NUMBER=$(gh pr list --repo community-scripts/ProxmoxVE --head "$branch_name" --json number --jq '.[].number')
|
||||
echo "PR_NUMBER=$PR_NUMBER"
|
||||
echo "pr_number=$PR_NUMBER" >> $GITHUB_ENV
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user