mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 00:34:30 +01:00
d5721dd8ca
* Create prevent-file-change.yml * fix
17 lines
482 B
YAML
17 lines
482 B
YAML
name: Prevent File Change
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
check-file-changes:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Prevent file change
|
|
uses: xalvarez/prevent-file-change-action@v1
|
|
with:
|
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
# Regex, /src/lang/*.json is not allowed to be changed, except for /src/lang/en.json
|
|
pattern: '^(?!frontend/src/lang/en\.json$)frontend/src/lang/.*\.json$'
|
|
trustedAuthors: UptimeKumaBot
|