Skip to content

Commit

Permalink
ci: lint pull request titles
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha committed Oct 18, 2023
1 parent 49c2df3 commit 852d0ce
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 @@
name: Pull Request lint

on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: linz/action-pull-request-lint@v1
with:
conventional: 'error' # require conventional pull request title (default: "error" options: "error", "warn", "off")

jira: 'warn' # Require JIRA ticket references (default: "warn", options: "error", "warn", "off")
jira-projects: 'BM,TDE' # optional list of jira projects

0 comments on commit 852d0ce

Please sign in to comment.