Skip to content

Conversation

@hiento09
Copy link

@hiento09 hiento09 commented Sep 3, 2025

This pull request updates the GitHub Actions workflow for mirroring releases to S3, focusing on simplifying manual triggers, improving reliability, and tightening history retention. The main changes clarify how releases are selected for mirroring, enforce stricter input requirements for manual runs, and reduce the number of retained releases.

Workflow improvements and input handling:

  • The workflow_dispatch manual trigger now requires the tag_name input (previously optional), ensuring a release tag must always be specified when running the workflow manually. The release_name input has been removed for simplicity.
  • The release resolution logic in the Resolve release step was refactored: for manual runs, only the provided tag_name is accepted (no fallback to latest or by name), and for automatic runs, the release payload is used directly. This makes the workflow more predictable and robust.
  • An informational log was added to output the resolved release tag, name, and number of assets for easier debugging.

Retention policy:

  • The maximum number of releases retained in releases.json was reduced from 100 to 20, helping to limit storage and improve performance.
  • The step name was updated to reflect the configurable retention count ("keep max N entries" instead of "keep max 100 entries").

@hiento09 hiento09 requested a review from Minh141120 September 3, 2025 04:12
@hiento09 hiento09 self-assigned this Sep 3, 2025
@hiento09 hiento09 merged commit 627f59b into dev Sep 3, 2025
1 check passed
@hiento09 hiento09 deleted the fix/release-to-aws-s3 branch September 3, 2025 04:13
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