Print that we didn't do anything if run on PR
This commit is contained in:
parent
6f3a189049
commit
83b267224b
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@ outputs:
|
|||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Do not run on PRs
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
shell: bash
|
||||
run: echo "This action does not support running on PRs. Nothing was done."
|
||||
- name: Run flake.lock update script
|
||||
run: $GITHUB_ACTION_PATH/update-flake-lock.sh
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
|
|
Loading…
Reference in a new issue