Skip to content

Commit 8714b9f

Browse files
committed
fix: quote job-level if expression to fix YAML parsing in helm-chart workflow
The if: condition on the release-pr-version-check job contained single-quoted strings with colons which broke YAML parsing. Wrapping the expression in double quotes fixes it. Signed-off-by: Christopher Maher <[email protected]>
1 parent f0bb9bf commit 8714b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/helm-chart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
release-pr-version-check:
9191
name: Release PR Version Consistency
9292
runs-on: ubuntu-latest
93-
if: github.event_name == 'pull_request' && startsWith(github.event.pull_request.title, 'chore: release ')
93+
if: "${{ github.event_name == 'pull_request' && startsWith(github.event.pull_request.title, 'chore: release ') }}"
9494
steps:
9595
- name: Checkout
9696
uses: actions/checkout@v6

0 commit comments

Comments
 (0)