Skip to content

Commit

Permalink
ci(commit-check): add a commit check for prs
Browse files Browse the repository at this point in the history
Add a commit check for PRs to make sure they are following the rules
outlined in the CONTRIBUTING document.

Signed-off-by: Randolph Sapp <[email protected]>
  • Loading branch information
StaticRocket committed Oct 26, 2024
1 parent f9ba2e7 commit 5041f6f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Commit Check
on:
push:
pull_request:
branches: ['master']

jobs:
commit-check:
name: Commit Check
runs-on: ubuntu-latest

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

- uses: commit-check/commit-check-action@v1
with:
message: true
author-name: true
author-email: true
commit-signoff: true
job-summary: true
pr-comments: true

0 comments on commit 5041f6f

Please sign in to comment.