We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e83dbb0 commit 6086f10Copy full SHA for 6086f10
.github/workflows/commit-lint.yml
@@ -6,6 +6,9 @@ on:
6
branches:
7
- main
8
name: Lint commits
9
+permissions:
10
+ contents: read
11
+ pull-requests: write
12
jobs:
13
lint-commits:
14
runs-on: ubuntu-latest
@@ -20,4 +23,4 @@ jobs:
20
23
- uses: actions/[email protected]
21
24
- run: npm install conventional-changelog
22
25
- run: npm install @commitlint/cli
- - run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
26
+ - run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
0 commit comments