Skip to content

Commit 1b06fee

Browse files
committed
ci: harden semantic pr check
1 parent 56e9a17 commit 1b06fee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/semantic-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Enforce Conventional PR Title
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types:
66
- opened
77
- edited
@@ -16,7 +16,9 @@ jobs:
1616
semantic-pr:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: amannn/action-semantic-pull-request@v5
19+
- uses: amannn/action-semantic-pull-request@v6
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022
with:
2123
types: |
2224
build
@@ -30,5 +32,3 @@ jobs:
3032
revert
3133
style
3234
test
33-
- name: PR title follows Conventional Commits
34-
run: echo "✅ PR title matches Conventional Commits"

0 commit comments

Comments
 (0)