Skip to content

Commit

Permalink
Ensure that PR titles conform to the conventional commits spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Styrke committed May 31, 2024
1 parent 14fdd62 commit 499e266
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Lint PR"

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 }}

0 comments on commit 499e266

Please sign in to comment.