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

Contradictory GHA Explicit Version Number recommendations #5046

Closed
MikeMcC399 opened this issue Feb 6, 2023 · 2 comments · Fixed by #5153
Closed

Contradictory GHA Explicit Version Number recommendations #5046

MikeMcC399 opened this issue Feb 6, 2023 · 2 comments · Fixed by #5153

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Feb 6, 2023

Subject

GitHub-Action

Description

Problem description

The section Explicit Version Number of the GitHub Actions documentation is not aligned with the README: Explicit version recommendations in the GHA repository.

Releases in the GHA repository conform to semantic versioning conventions. This implies that known breaking changes cause a new MAJOR version to be released. Users should therefore be able to rely on this and not normally need to specify an explicit version.

GitHub Action Versioning also discusses this topic:

Recommendation: bind to major versions to get functionality and fixes but reserve binding to a specific release or SHA as a mitigation strategy for unforeseen breaks.

Suggested changes

In GitHub Actions:

  1. Recommend to use the latest major version v5
  2. Explain that a specific version can be used as mitigation for a compatibility problem e.g. use v5.0.8
  3. Update each example and convert from specific version @v5.2.0 (which actually doesn't even exist at this time) or @v5.x.x to @v5.
@MikeMcC399
Copy link
Contributor Author

@MikeMcC399
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant