Skip to content

Conversation

@cuisongliu
Copy link
Collaborator

This pull request updates the tagpr.yml GitHub Actions workflow to improve how releases are triggered and managed. The main changes revolve around shifting release automation from manual dispatch to automatic behavior on push events, and enhancing the tagging and release workflow for better reliability and clarity.

Release workflow automation improvements:

  • Added a new step to automatically tag and push changes when a push event occurs and a new version is available, streamlining the release process.
  • Updated the release trigger logic to use push events instead of manual workflow dispatch, ensuring releases are created automatically after a successful push.
  • Modified the commit message for release pull requests to clarify that releases are made using GitHub Actions, improving traceability.

Workflow logic cleanup:

  • Removed redundant if conditions for workflow dispatch from the actions/checkout and release steps, simplifying the workflow logic. [1] [2]
  • Cleaned up commented-out code for the release workflow trigger, replacing it with an active, automated trigger on push events.

@cuisongliu cuisongliu requested a review from a team as a code owner August 21, 2025 15:39
@cuisongliu cuisongliu added this to the v5.1 milestone Aug 21, 2025
@cuisongliu cuisongliu force-pushed the fix-release-tagpr branch 2 times, most recently from 2d16a02 to f56b828 Compare August 21, 2025 15:44
@cuisongliu
Copy link
Collaborator Author

Depend on #5851

…rs for changelog generation

Signed-off-by: cuisongliu <[email protected]>
Copy link
Collaborator

@dinoallo dinoallo left a comment

Choose a reason for hiding this comment

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

LGTM

@cuisongliu cuisongliu merged commit 4f02739 into labring:main Aug 22, 2025
24 checks passed
@cuisongliu cuisongliu deleted the fix-release-tagpr branch August 22, 2025 08:54
@cuisongliu cuisongliu restored the fix-release-tagpr branch August 22, 2025 08:56
@cuisongliu cuisongliu deleted the fix-release-tagpr branch August 22, 2025 08:56
Zllinc pushed a commit to Zllinc/sealos that referenced this pull request Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants