Skip to content

Commit

Permalink
Possibly fixed, can't tell
Browse files Browse the repository at this point in the history
  • Loading branch information
willGraham01 committed Mar 26, 2024
1 parent c4f724a commit 5f6bf80
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 == "issue_comment") || (context.eventName == "pull_request"))) {
if (!((context.eventName == "issue_comment") || (context.eventName == "pull_request"))) {
return context.sha;
};
const { data: pr } = await github.rest.pulls.get({
Expand Down

0 comments on commit 5f6bf80

Please sign in to comment.