Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
25 lines
613 B
YAML
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
- name: Prevent file change
|
|
uses: xalvarez/prevent-file-change-action@8ba6c9f0f3c6c73caea35ae4b13988047f9cd104 # v3.0.0
|
|
with:
|
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
pattern: website/data/users.yml
|