Merge pull request #1066 from imachug/checkpr

Add check-pr.yml
This commit is contained in:
nukeop 2021-03-24 19:16:42 +00:00 committed by GitHub
commit 2fd029c47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
.github/workflows/check-pr.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Do not modify index.md directly, add a file to _data/signed instead
on:
pull_request:
branches:
- master
paths:
- index.md
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Throw error
run: echo "Do not modify index.md directly, add a file to _data/signed instead"; exit 1