mirror of
https://github.com/jlengrand/coffeechat.git
synced 2026-03-10 08:11:20 +00:00
Prevent running prevent-readme-pr if an action committed README.md
This commit is contained in:
1
.github/workflows/prevent-readme-pr.yml
vendored
1
.github/workflows/prevent-readme-pr.yml
vendored
@@ -11,6 +11,7 @@ jobs:
|
||||
steps:
|
||||
- name: Fail this PR
|
||||
uses: actions/github-script@v3
|
||||
if: ${{ github.event.head_commit.committer.username != 'actions-user' }}
|
||||
with:
|
||||
script: |
|
||||
core.setFailed('Do not make changes in README.md directly! Update TEMPLATE_README.md in the scripts folder instead.')
|
||||
|
||||
Reference in New Issue
Block a user