Files
test-repo/.github/workflows/prevent-file-change.yml
T
dependabot[bot] 63a851e4ad Bump xalvarez/prevent-file-change-action from 2.0.0 to 3.0.0 (#18006)
Bumps [xalvarez/prevent-file-change-action](https://github.com/xalvarez/prevent-file-change-action) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/xalvarez/prevent-file-change-action/releases)
- [Commits](https://github.com/xalvarez/prevent-file-change-action/compare/4e88b842aed52bb42b94537ad9736eac06930266...8ba6c9f0f3c6c73caea35ae4b13988047f9cd104)

---
updated-dependencies:
- dependency-name: xalvarez/prevent-file-change-action
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-05 11:22:14 +08:00

25 lines
613 B
YAML

name: Prevent File change
on:
pull_request_target:
paths:
- "website/data/users.yml"
permissions:
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
prevent-add-users:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Prevent file change
uses: xalvarez/prevent-file-change-action@8ba6c9f0f3c6c73caea35ae4b13988047f9cd104 # v3.0.0
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: website/data/users.yml