Skip to content

Commit

Permalink
ci: add GitHub Action workflow to validate PR title (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkuczera authored May 27, 2024
1 parent 2c49579 commit a101ef6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint PR

on:
pull_request_target:
types:
- opened
- reopened
- 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 a101ef6

Please sign in to comment.