Skip to content

Commit

Permalink
ci: validate PR titles (#885)
Browse files Browse the repository at this point in the history
* ci: validate PR titles

* fix: try adding back permissions array
  • Loading branch information
kanadgupta authored Sep 5, 2023
1 parent a7ebee3 commit e634a02
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Lint PR Title'

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

permissions:
pull-requests: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e634a02

Please sign in to comment.