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.
pre-release
1 parent f36ddf1 commit fe4d1e0Copy full SHA for fe4d1e0
.github/workflows/draft_release_hotfix_pr.yaml
@@ -69,8 +69,10 @@ jobs:
69
Merging this PR will create the GitHub release ${{ env.TAG_PREFIX }}${{ env.RELEASE_VERSION }}.
70
run: |
71
PR_LABELS="automated-pr,${RELEASE_TYPE}-pr"
72
+
73
+ [[ ${PRE_RELEASE:false} == "true" ]] && ( gh label create 'pre-release' --force && PR_LABELS="$PR_LABELS,pre-release" )
74
75
for LABEL in $(echo $PR_LABELS | sed "s/,/ /g"); do gh label create $LABEL --force; done
- [[ ${PRE_RELEASE:false} == "true" ]] && gh label create 'pre-release' --force
76
77
PR_ID=$(gh pr list --state open --search "base:${{ env.BRANCH_MAIN }} head:${{ github.ref_name }}" | head -1 | cut -f1)
78
[[ ! -z "$PR_ID" ]] && echo "PR was created with ID $PR_ID. Ignored!" || \
0 commit comments