Skip to content

Commit

Permalink
feat: Adding pull request workflow.
Browse files Browse the repository at this point in the history
This is part of making the main branch protected.
  • Loading branch information
lazzurs committed Dec 1, 2024
1 parent c2d7188 commit bf49880
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
on: [pull_request]

jobs:
cog_check_job:
runs-on: ubuntu-latest
name: check conventional commit compliance
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# pick the pr HEAD instead of the merge commit
ref: ${{ github.event.pull_request.head.sha }}

- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3

0 comments on commit bf49880

Please sign in to comment.