Skip to content

Releases: openshift-hyperfleet/hyperfleet-hooks

v0.2.0

14 May 15:12

Choose a tag to compare

What's Changed

  • HYPERFLEET-1079: Generalize commitlint to accept any Jira project key

Full Changelog: v0.1.3...v0.2.0

v0.1.3

13 May 08:13
ddd3cc2

Choose a tag to compare

What's Changed

  • Whitelist bot authors in commitlint validation — commits from known bot accounts (e.g., Konflux PaC) are automatically skipped during validation, unblocking Konflux onboarding PRs (#9)

Details

  • Added IsWhitelistedAuthor() to the validator — checks both commit author email and GitHub PR author login
  • Whitelisted: konflux@no-reply.konflux-ci.dev (commit email), red-hat-konflux-kflux-prd-rh02[bot] (PR author)
  • Refactored GetPRTitle to GetPRInfo to include PR author login for title validation
  • Removed unused getCommitMessage function (inlined in validateCommits)

Full Changelog: v0.1.2...v0.1.3

v0.1.2

30 Apr 14:17

Choose a tag to compare

Fix PR commit range calculation: use git rev-list for correct diverged branch handling

v0.1.1

24 Apr 00:18

Choose a tag to compare

Fix

  • Fallback to GitHub API when local git history is unavailable (shallow clones in ci-operator)

When getCommitsInRange fails due to shallow/partial git clones, the commitlint tool now falls back to the GitHub PR commits API to fetch and validate commit messages.