From 52d50c0f5b801fcd62434f4db5816728857d97f4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:54:45 +0800 Subject: [PATCH] chore(deps): update xalvarez/prevent-file-change-action action to v1.8.0 (#16866) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung --- .github/workflows/prevent-file-change.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prevent-file-change.yml b/.github/workflows/prevent-file-change.yml index aed0f6195..f5811b52e 100644 --- a/.github/workflows/prevent-file-change.yml +++ b/.github/workflows/prevent-file-change.yml @@ -1,12 +1,13 @@ name: Prevent File change on: - pull_request: + pull_request_target: paths: - "website/data/users.yml" permissions: contents: read + pull-requests: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -18,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Prevent file change - uses: xalvarez/prevent-file-change-action@v1.7.0 + uses: xalvarez/prevent-file-change-action@v1.8.0 with: githubToken: ${{ secrets.GITHUB_TOKEN }} pattern: website/data/users.yml