Skip to content

ci(canary-release): Add commit check job to skip redundant releases#19

Merged
Onebeld merged 1 commit intoOnebeld:mainfrom
ghudulf:main
Apr 15, 2026
Merged

ci(canary-release): Add commit check job to skip redundant releases#19
Onebeld merged 1 commit intoOnebeld:mainfrom
ghudulf:main

Conversation

@ghudulf
Copy link
Copy Markdown
Contributor

@ghudulf ghudulf commented Apr 15, 2026

  • Add new check-commits job that runs before canary release
  • Detect new commits since last canary tag using git rev-list
  • Skip workflow execution when no new commits exist on scheduled runs
  • Allow PR and manual triggers to bypass commit check and proceed
  • Output has_new_commits flag for downstream job dependency
  • Prevents unnecessary canary releases and reduces build overhead

- Add new `check-commits` job that runs before canary release
- Detect new commits since last canary tag using git rev-list
- Skip workflow execution when no new commits exist on scheduled runs
- Allow PR and manual triggers to bypass commit check and proceed
- Output `has_new_commits` flag for downstream job dependency
- Prevents unnecessary canary releases and reduces build overhead
Copy link
Copy Markdown
Owner

@Onebeld Onebeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Onebeld Onebeld merged commit 7f69b77 into Onebeld:main Apr 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants