Skip to content

Commit

Permalink
fix: specific pr target for pr title checker (#163)
Browse files Browse the repository at this point in the history
* fix: specific pr target for title checker

Signed-off-by: sh2 <shawnhxh@outlook.com>

* update pr-title-checker version

Signed-off-by: sh2 <shawnhxh@outlook.com>

* alter `pull_request_target` to `pull_request`

Signed-off-by: sh2 <shawnhxh@outlook.com>

---------

Signed-off-by: sh2 <shawnhxh@outlook.com>
  • Loading branch information
shawnh2 authored Oct 9, 2023
1 parent 0cb66b9 commit 05409fc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/pr-title-checker.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
name: PR Title Checker

on: [pull_request]
on:
pull_request:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled

jobs:
check:
name: pr-title-check
runs-on: ubuntu-latest
steps:
- uses: thehanimo/pr-title-checker@v1.3.4
- uses: thehanimo/pr-title-checker@v1.4.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
Expand Down

0 comments on commit 05409fc

Please sign in to comment.