Skip to content

Commit

Permalink
Don't use pull_request.head for she
Browse files Browse the repository at this point in the history
Decided to remove this line because the head she may or may not always be the current sha. 

I think we should still merge this PR since it updates packages that are causing deprecation warnings.
  • Loading branch information
cwbusacker authored Mar 22, 2024
1 parent c6bd7e9 commit b74e4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function run(): Promise<void> {
repo: context.repo.repo ?? '',
owner: context.repo.owner ?? '',
issue_number: context.payload.number ?? 0,
sha: context.payload.after || context.payload.pull_request?.head.sha || "",
sha: context.payload.after || '',
})

if(github.CONFIG.sha === '')
Expand Down

0 comments on commit b74e4d3

Please sign in to comment.