Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewland committed May 23, 2024
1 parent fd39dc8 commit bdf7105
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
26 changes: 17 additions & 9 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.

4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export async function run(): Promise<void> {
const octokit = github.getOctokit(token)
const { context } = github
if (
context.eventName == 'workflow_run' &&
context.payload.action == 'completed' &&
context.eventName === 'workflow_run' &&
context.payload.action === 'completed' &&
context.payload.workflow !== undefined &&
context.payload.workflow_run !== undefined
) {
Expand Down

0 comments on commit bdf7105

Please sign in to comment.