Print that we didn't do anything if run on PR

This commit is contained in:
Cole Helbling 2022-05-03 11:00:37 -07:00
parent 6f3a189049
commit 83b267224b

View file

@ -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' }}