Skip to content

Commit d0bf8ca

Browse files
authored
chore: enable commitlint on PR merge queue - continuation (#45)
1 parent 7c3d233 commit d0bf8ca

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ on:
66
pull_request:
77
branches:
88
- main
9-
merge_group:
10-
types:
11-
- checks_requested
129

1310
jobs:
11+
# To ensure that the commitlint merge_group event triggers correctly, you need to have at least one workflow that responds to the pull_request event with a job named the same as the one in your merge_group workflow (commitlint in this example). This is necessary because the merge queue relies on the existence of status checks from the pull request context.
12+
commitlint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v4
1417
lint:
1518
runs-on: ubuntu-latest
1619
steps:

0 commit comments

Comments
 (0)