Skip to content

Commit

Permalink
chore: use PR target event for better handling of PR title checks (#313)
Browse files Browse the repository at this point in the history
* chore: use PR target event for better handling of PR title checks

* fix
  • Loading branch information
johanneskoester committed Jul 6, 2021
1 parent e3e10ca commit 43648e1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/conventional-prs.yml
@@ -1,6 +1,6 @@
name: PR
on:
pull_request:
pull_request_target:
types:
- opened
- reopened
Expand All @@ -11,11 +11,6 @@ jobs:
title-format:
runs-on: ubuntu-latest
steps:
- uses: aslafy-z/conventional-pr-title-action@v2.2.0
with:
success-state: Title follows the specification.
failure-state: Title does not follow the specification.
context-name: conventional-pr-title
preset: conventional-changelog-angular@latest
- uses: amannn/action-semantic-pull-request@v3.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 43648e1

Please sign in to comment.