Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 2.28 KB

README.md

File metadata and controls

38 lines (25 loc) · 2.28 KB
order 1

Upgrading

One page per major version. A major is the only release that can change what an existing settings file or workflow does, so each one gets a guide here listing every break with its before, its after, and the error the old form now produces.

How the tags move

Pin Moves when Use it for
@v2 (the moving major) Every release in that major line Fixes arrive without touching your pin; the line never breaks a working file
@vX.Y.Z Never Byte-stable behavior; upgrade deliberately
A commit SHA Never The same, for repositories that pin actions by digest

Every version tag cut after v2.0.0 points at a packaged commit carrying the built action and the library build the npm package of the same version ships. The packaged commit is the child of its source, the audited release commit on main, and a ruleset freezes the tag.

The tags up to v2.0.0 point at release commits on main from when main still committed the bundle. Only the latest release is supported; fixes are not backported.

The guides

From To Guide
v1 v2 v1 to v2: the repository rename in uses:, and four keys that went from inert to acting
v2 v3 v2 to v3: defaults-file becomes a fallback, undeclared becomes _undeclared, layering arrives in mode: render, a declaration GitHub would reject fails at parse, and the library gets a documented public entry beside an internal one

Additions inside a major

A minor release can add a mode, an input, or a result value without breaking a working file or workflow. Two additions worth knowing when a step branches on result:

Since Addition What to check
v3 mode: snapshot (guide) result may read snapshot in that mode, beside partial and failed; a step that treats every unknown result as a failure should list it

The convention

Every future major adds a page to this folder and a row to the table above before it ships. The CHANGELOG keeps the release-please footers; the guide is the reading order, with a row per break and a check-first step where a break is silent.