We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd62d5a commit f36ddf1Copy full SHA for f36ddf1
.github/workflows/draft_release_hotfix_pr.yaml
@@ -73,13 +73,12 @@ jobs:
73
[[ ${PRE_RELEASE:false} == "true" ]] && gh label create 'pre-release' --force
74
75
PR_ID=$(gh pr list --state open --search "base:${{ env.BRANCH_MAIN }} head:${{ github.ref_name }}" | head -1 | cut -f1)
76
- [[ ! -z "$PR_ID" ]] && \
+ [[ ! -z "$PR_ID" ]] && echo "PR was created with ID $PR_ID. Ignored!" || \
77
gh pr create \
78
--draft \
79
--base "${{ env.BRANCH_MAIN }}" \
80
--head "${{ github.ref_name }}" \
81
--title "${{ env.PR_TITLE }}" \
82
--body "${{ env.PR_BODY }}" \
83
--label "${PR_LABELS}" \
84
- --fill \
85
- || echo "PR was created. Ignored!"
+ --fill
0 commit comments