Skip to content

Commit

Permalink
Remove head sha of commit - in case new commits have come in
Browse files Browse the repository at this point in the history
  • Loading branch information
cwbusacker committed Mar 21, 2024
1 parent bf7db5c commit 3d93eac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

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 3d93eac

Please sign in to comment.