Skip to content

Commit

Permalink
OK, will this work? Think the problem is that issues don't set a context
Browse files Browse the repository at this point in the history
  • Loading branch information
willGraham01 committed Mar 26, 2024
1 parent 2f8c579 commit e9795c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/fetch_sha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit e9795c1

Please sign in to comment.