Skip to content
On this page

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

PinMoves whenUse it for
@v2 (the moving major) Every release in that major lineFixes arrive without touching your pin; the line never breaks a working file
@vX.Y.ZNeverByte-stable behavior; upgrade deliberately
A commit SHANeverThe 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

FromToGuide
v1v2v1 to v2: the repository rename in uses:, and four keys that went from inert to acting
v2v3v2 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:

SinceAdditionWhat to check
v3mode: 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.

Built from main at 1a25adbSource: docs/upgrading/README.md