From 05409fcfaa956399b2aef2d42b81ceb868789630 Mon Sep 17 00:00:00 2001 From: sh2 Date: Mon, 9 Oct 2023 14:20:02 +0800 Subject: [PATCH] fix: specific pr target for pr title checker (#163) * fix: specific pr target for title checker Signed-off-by: sh2 * update pr-title-checker version Signed-off-by: sh2 * alter `pull_request_target` to `pull_request` Signed-off-by: sh2 --------- Signed-off-by: sh2 --- .github/workflows/pr-title-checker.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-title-checker.yaml b/.github/workflows/pr-title-checker.yaml index 0cc7032c..8ddb0485 100644 --- a/.github/workflows/pr-title-checker.yaml +++ b/.github/workflows/pr-title-checker.yaml @@ -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