prevent running if it's a psuh from GitHub Action

This commit is contained in:
Frédéric Harper
2022-04-30 18:46:29 -04:00
parent 3b785baffa
commit 79e3b26f49

View File

@@ -7,6 +7,7 @@ on:
jobs:
check-for-readme-commit:
runs-on: ubuntu-latest
if: ${{ github.actor != 'actions-user' }}
steps:
- name: Fail this PR
uses: actions/github-script@v3