Skip to content

Commit

Permalink
Wasn't fixed on issue comments
Browse files Browse the repository at this point in the history
  • Loading branch information
willGraham01 committed Mar 26, 2024
1 parent 5f6bf80 commit 2f8c579
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) || (context.payload.pull_request))) {
return context.sha;
};
const { data: pr } = await github.rest.pulls.get({
Expand Down

0 comments on commit 2f8c579

Please sign in to comment.