This public repository tests Release-GHRepository on GitHub Actions. It contains only synthetic data. Use it to verify a pinned action candidate before the producer publishes it. Test releases and tags belong to this repository only.
- Dispatch the Shelly fixture driver from
mainin the producer repository. Select a scenario and, if needed, a same-repository producer PR to test. Shelly opens a fixture PR with that exact action SHA. - Wait for a schema 2
release-fixture-resultcomment fromgithub-actions[bot]withoracle: "success"andverified: true. Match its case ID, candidate SHA, PR head, and event. For cases that need a label, use thelabeledreport. The opening event without the label runs only the fixture tests. - For a push case, follow the normal review rules and squash-merge the fixture PR. Run the producer driver again with the fixture PR number to verify the report for the exact squash commit. Close the
missing-decisionPR without merging it. Run one case at a time; each case compares the whole test release and tag inventory before and after the run.
| Case | Release label | Expected result |
|---|---|---|
preview |
release:patch |
Plan and CI pass. Publish previews the tested commit after merge and creates no tag or release. |
staged |
release:patch |
After merge, Publish consumes the same-run plan and creates one stable release and tag at the tested commit. |
one-step |
release:patch |
After merge, Publish calculates on demand and writes the same version Plan previewed, at the exact tested commit. |
configured-default |
None | Plan uses the explicit DefaultBump: patch. After merge, the staged publisher creates the release and tag. |
missing-decision |
None | A Calculate run with DefaultBump: patch succeeds. Without the default, Calculate fails. CI still runs and Verify confirms that no release or tag was created. |
skip |
release:skip |
Plan returns skip. CI passes and Publish does not run. The release and tag inventory is unchanged. |
ci-failure |
release:patch |
The PR can pass CI. After merge, CI fails deliberately on the pushed commit. Publish does not run and the inventory is unchanged. |
Use Verify the fixture result or its PR report as the verdict. The overall run fails for a deliberate missing decision or push CI failure. A missing report is not a pass. The driver reads PR comments without Actions permissions. Follow run in the report to see the separate jobs.
Start with staged to publish a stable release at fixture main. Run missing-decision and configured-default only when main points to a published stable release. After a maintenance merge or a case that did not publish, use another explicit patch case to establish a new baseline. Keep test tags and releases as evidence. Use a new case instead of rerunning a push that already published.
tests/FixtureContract.json lists the supported cases and their labels. Shelly opens a same-repository PR from release-fixture/<run-id>-<attempt> to main. It adds tests/cases/<run-id>-<attempt>.json with scenario and candidate. On a push, the suite selects a case only from the Shelly PR merged at that commit. Other PRs and pushes run the fixture tests but do not run the action.
Release-Test.yml checks out the public producer at the exact candidate SHA and runs the local action. Only the Publish job can write fixture tags and releases. Only the Verify job can add reports to the fixture PR. The fixture does not mint or use Shelly's token. Never add app credentials or real release data to this repository.
Run the case selection and inventory tests without GitHub credentials:
Import-Module -Name Pester -RequiredVersion 6.1.0
Invoke-Pester -Path .\tests