From fed95c3d77ca812e8024ba111cac7e5339b24473 Mon Sep 17 00:00:00 2001 From: Zhiguo Wu Date: Fri, 13 Sep 2024 13:54:39 +0800 Subject: [PATCH] update config --- .github/workflows/pr.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 804a758b..7f03f4d9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,7 +8,14 @@ jobs: name: "Check PR Title" runs-on: ubuntu-latest steps: - - uses: ./.github/actions/pr-title-checker + - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" + uses: actions/checkout@v4 + with: + persist-credentials: false + submodules: recursive + - name: "Check PR Title" + uses: ./.github/actions/pr-title-checker with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + pass_on_octokit_error: false configuration_path: .github/pr-title-checker-config.json