Skip to content

Commit 89c8f7d

Browse files
committed
ci: fix syntax
1 parent d18f4c8 commit 89c8f7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lint-conventional-commits.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
# Low-tech linter to avoid squashing commits into non-semantic conventional commit by addressing the most common cause
1616
- name: Assert PR name adhering to conventional commits
1717
run: |
18-
gh pr --repo ${{ github.repository }} view ${{ github.event.number }} --json title
19-
| jq --args '.title | test("\\w+: \\w+")' -e 1 || {
18+
gh pr --repo ${{ github.repository }} view ${{ github.event.number }} --json title |
19+
jq --args '.title | test("\\w+: \\w+")' -e 1 || {
2020
gh pr comment ${{ github.event.number }} \
2121
--body "PR title does not adhere to conventional commits. Change PR title to ensure that the suggested squash commit follows the conventions and thus ends up in the changelog."
2222
}

0 commit comments

Comments
 (0)