We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a412305 + d828638 commit 84a648eCopy full SHA for 84a648e
1 file changed
.github/workflows/chango.yml
@@ -26,8 +26,10 @@ jobs:
26
persist-credentials: true
27
- name: Check PR Title
28
id: check_title
29
+ env:
30
+ PR_TITLE: ${{ github.event.pull_request.title }}
31
run: | # zizmor: ignore[template-injection]
- if [[ "$(echo "${{ github.event.pull_request.title }}" | tr '[:upper:]' '[:lower:]')" =~ ^bump\ version\ to\ .* ]]; then
32
+ if [[ "$(echo "$PR_TITLE" | tr '[:upper:]' '[:lower:]')" =~ ^bump\ version\ to\ .* ]]; then
33
echo "COMMIT_AND_PUSH=false" >> $GITHUB_OUTPUT
34
echo "IS_RELEASE_PR=true" >> $GITHUB_OUTPUT
35
else
0 commit comments