From e9795c18453ef52ed62ea1346ea63166809938f6 Mon Sep 17 00:00:00 2001 From: willGraham01 <1willgraham@gmail.com> Date: Tue, 26 Mar 2024 12:12:01 +0000 Subject: [PATCH] OK, will this work? Think the problem is that issues don't set a context --- .github/workflows/fetch_sha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fetch_sha.yml b/.github/workflows/fetch_sha.yml index d1775f1..ab09909 100644 --- a/.github/workflows/fetch_sha.yml +++ b/.github/workflows/fetch_sha.yml @@ -29,7 +29,7 @@ jobs: with: result-encoding: string script: | - if (!((context.payload.issue) || (context.payload.pull_request))) { + if (!context.payload.pull_request) { return context.sha; }; const { data: pr } = await github.rest.pulls.get({