Skip to content

fix: improve release workflow reliability#56

Merged
jonathannorris merged 2 commits intomainfrom
fix/release-workflow-improvements
Mar 17, 2026
Merged

fix: improve release workflow reliability#56
jonathannorris merged 2 commits intomainfrom
fix/release-workflow-improvements

Conversation

@jonathannorris
Copy link
Member

Summary

  • Fix prerelease input incorrectly wired to draft flag in the Create Release step
  • Fix release target SHA pointing to the pre-bump commit instead of the pushed commit
  • Upgrade actions/setup-node from v3 to v4
  • Use git pull --ff-only instead of git pull to avoid merge commits

These same fixes were applied to feature-flag-pr-insights-action in DevCycleHQ/feature-flag-pr-insights-action#125.

@jonathannorris jonathannorris requested a review from a team as a code owner March 16, 2026 15:35
Copilot AI review requested due to automatic review settings March 16, 2026 15:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Improves the GitHub Actions release workflow so releases are created with the correct prerelease/draft flags and target commit, while also modernizing and hardening the workflow’s git/node setup.

Changes:

  • Corrects prerelease wiring in the Create Release step and uses the pushed commit SHA as the release target.
  • Upgrades actions/setup-node from v3 to v4.
  • Replaces git pull with git pull --ff-only to avoid merge commits during the release push.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@jonathannorris jonathannorris merged commit 3b40fc4 into main Mar 17, 2026
5 checks passed
@jonathannorris jonathannorris deleted the fix/release-workflow-improvements branch March 17, 2026 20:39
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