Skip to content

Commit

Permalink
Merge pull request #21 from StaticRocket/master
Browse files Browse the repository at this point in the history
ci(commit-check): fix permissions and allow bot to comment on prs
  • Loading branch information
StaticRocket authored Oct 29, 2024
2 parents 6c23996 + 8c411f3 commit 0cd1ba1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
---
name: Commit Check
on:
push:
pull_request:
branches: ['master']

jobs:
commit-check:
name: Commit Check
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- uses: commit-check/commit-check-action@v1
- name: Check commit
uses: commit-check/commit-check-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: true
author-name: true
Expand Down

0 comments on commit 0cd1ba1

Please sign in to comment.