Skip to content

Commit

Permalink
Wrong symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
willGraham01 committed Mar 26, 2024
1 parent 4288ff4 commit 866109a
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.eventName == "issue_comment") || (context.eventName == "pull_request") {
if !((context.payload.issue == "issue_comment") || (context.eventName == "pull_request")) {
return context.sha;
};
const { data: pr } = await github.rest.pulls.get({
Expand Down

0 comments on commit 866109a

Please sign in to comment.