Skip to content

Commit

Permalink
chore(RE-4): add semantic commit validation
Browse files Browse the repository at this point in the history
  • Loading branch information
polentino authored Mar 21, 2024
1 parent 03d90fd commit fa06337
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/semantic-commit-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Semantic Commit Linter"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
scopes: RE-\d+
requireScope: false

0 comments on commit fa06337

Please sign in to comment.