Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
sibljon committed Sep 12, 2024
1 parent 03abeb5 commit 9a1b729
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 @@ -138,7 +138,7 @@ export async function run(): Promise<void> {
});
const pr = prResponse.data;

const isMerged = pr?.merged_at !== undefined;
const isMerged = !!pr?.merged_at;
if (isMerged) {
core.info(`🔍 PR is merged, returning early`);
return;
Expand Down

0 comments on commit 9a1b729

Please sign in to comment.