Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): prevent duplicate draft releases in release-drafter #9252

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

gustavovalverde
Copy link
Member

Motivation

Release Drafter v6.1.0 has a regression that creates multiple duplicate draft releases instead of updating existing ones.

See: release-drafter/release-drafter#1425

This got reverted as dependabot updgrade it after our fix: 7445d81

Solution

This change:

  • Disables pre-release flag for draft releases
  • Excludes pre-releases from being included in drafts
  • Explicitly defines PR event types in workflow

Follow-up Work

If this continue, we might have to disable this temporarily or look for an alternative.

PR Author's Checklist

  • The PR name will make sense to users.
  • The PR provides a CHANGELOG summary.
  • The solution is tested.
  • The documentation is up to date.
  • The PR has a priority label.

PR Reviewer's Checklist

  • The PR Author's checklist is complete.
  • The PR resolves the issue.

Release Drafter v6.1.0 has a regression that creates multiple duplicate draft
releases instead of updating existing ones. This change:

- Disables pre-release flag for draft releases
- Excludes pre-releases from being included in drafts
- Explicitly defines PR event types in workflow

See: release-drafter/release-drafter#1425
@gustavovalverde gustavovalverde requested review from a team as code owners February 13, 2025 14:02
@gustavovalverde gustavovalverde requested review from upbqdn and removed request for a team February 13, 2025 14:02
@github-actions github-actions bot added the C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG label Feb 13, 2025
@mergify mergify bot merged commit dd31d8f into main Feb 13, 2025
98 checks passed
@mergify mergify bot deleted the fix-release-drafter-2 branch February 13, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants