Skip to content

Commit

Permalink
fix(skip-ci): returning next SHA instead of the last skip-ci one
Browse files Browse the repository at this point in the history
  • Loading branch information
eXigentCoder authored and mandarini committed May 28, 2024
1 parent a2fc346 commit 58575e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38119,7 +38119,7 @@ function findLastSkippedCommitAfterSha(baseSha, headSha, messagesToSkip = [], br
newBaseSha = commit.sha;
continue;
}
return newBaseSha;
return commit.sha;
}
return newBaseSha;
});
Expand Down
2 changes: 1 addition & 1 deletion find-successful-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ async function findLastSkippedCommitAfterSha(
newBaseSha = commit.sha;
continue;
}
return newBaseSha;
return commit.sha;
}
return newBaseSha;
}
Expand Down

0 comments on commit 58575e7

Please sign in to comment.