We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c23996 + 8c411f3 commit 0cd1ba1Copy full SHA for 0cd1ba1
.github/workflows/commit-check.yml
@@ -1,22 +1,28 @@
1
---
2
name: Commit Check
3
on:
4
- push:
5
pull_request:
6
branches: ['master']
7
8
jobs:
9
commit-check:
10
11
runs-on: ubuntu-latest
+ permissions:
12
+ contents: read
13
+ issues: write
14
+ pull-requests: write
15
16
steps:
17
- name: Checkout
18
uses: actions/checkout@v4
19
with:
20
ref: ${{ github.event.pull_request.head.sha }}
21
- - uses: commit-check/commit-check-action@v1
22
+ - name: Check commit
23
+ uses: commit-check/commit-check-action@v1
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
27
message: true
28
author-name: true
0 commit comments