diff --git a/.github/workflows/prevent-file-change.yml b/.github/workflows/prevent-file-change.yml index b76582d52..1b2a9b9d0 100644 --- a/.github/workflows/prevent-file-change.yml +++ b/.github/workflows/prevent-file-change.yml @@ -6,7 +6,6 @@ on: - "website/data/users.yml" permissions: - contents: read pull-requests: read concurrency: @@ -19,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Prevent file change - uses: xalvarez/prevent-file-change-action@v1.9.1 + uses: xalvarez/prevent-file-change-action@v2.0.0 with: githubToken: ${{ secrets.GITHUB_TOKEN }} pattern: website/data/users.yml