From 83b267224bf3abc99b7d38967a7a384168791f67 Mon Sep 17 00:00:00 2001
From: Cole Helbling <cole.helbling@determinate.systems>
Date: Tue, 3 May 2022 11:00:37 -0700
Subject: [PATCH] Print that we didn't do anything if run on PR

---
 action.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/action.yml b/action.yml
index 44754a6..f8e1cb1 100644
--- a/action.yml
+++ b/action.yml
@@ -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' }}