fix(ci): quote release workflow if: so the YAML parses
#4
@@ -56,7 +56,9 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Don't loop on our own bump commit (belt-and-suspenders with [skip ci]).
|
# Don't loop on our own bump commit (belt-and-suspenders with [skip ci]).
|
||||||
if: ${{ !contains(github.event.head_commit.message, 'chore(release): bump version') }}
|
# Quoted because the expression contains a colon (`chore(release):`), which an
|
||||||
|
# unquoted YAML scalar would misparse as a mapping value.
|
||||||
|
if: "${{ !contains(github.event.head_commit.message, 'chore(release): bump version') }}"
|
||||||
steps:
|
steps:
|
||||||
- name: Check out full history (need tags + commit log for the bump)
|
- name: Check out full history (need tags + commit log for the bump)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user