Repository navigation
ci: gate continuous release behind CONFLUENCEPS_CD_ENABLED - #279
Merged
Merged
Conversation
A merge to master no longer starts release preparation unless the repository variable CONFLUENCEPS_CD_ENABLED is 'true'. Manual dispatch still prepares a release. This matches the JiraPS rollout guard and keeps the ConfluencePS 3 work on master from releasing by accident. Agent-Attribution: claude-opus-5-5 via Claude Code in T3 Code on behalf of @lipkau
lipkau
marked this pull request as ready for review
November 20, 2026 16:31
lipkau
added a commit
that referenced
this pull request
Nov 22, 2026
…eases (#278) Adopts AtlassianPS.Standards [v0.5.0](https://github.com/AtlassianPS/AtlassianPS.Standards/releases/tag/v0.5.0), which adds shared alpha and beta releases ([Standards #78](AtlassianPS/AtlassianPS.Standards#78)). Every Standards workflow pin moves to `7efc986` (`v0.5.0`) and the build requirement to `0.5.0`. `Tests/Tools/StandardsVersionConsistency.Unit.Tests.ps1` checks the single release SHA again. Dispatch `Continuous Release` from `master`, choose `alpha` or `beta`, and optionally set `prerelease_branch`. The shared workflow uses one resolved source commit for builds, tests, the artifact ledger, and the tag. Stable releases reject branch overrides. The `CONFLUENCEPS_CD_ENABLED` guard from #279 stays on the release job. Adds the `Prerelease = ''` manifest entry that the shared alpha/beta build sets. Standards 0.5.0 also changes the stable build: - `Install-DependencyRequirement` treats a requirement with only `ModuleVersion` as a minimum. - `Test-ModulePackage` requires the package to match the built module file for file. Updates operator guidance, the changelog, and workflow contract checks. Uses `release:none` so adoption ships with the next package. Refs AtlassianPS/AtlassianPS.Standards#73. Validation: `Invoke-Build -Task Lint, Build, Test` against Standards 0.5.0 → `Tests Passed: 1013, Failed: 0, Skipped: 44` / `Build succeeded. 9 tasks, 0 errors, 0 warnings`. --- Created by _gpt-6 via codex_ on behalf of @lipkau --- Created by _claude-opus-5-5 via Claude Code_ on behalf of @lipkau
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
ConfluencePS publishes automatically after every successful CI run on
master.The ConfluencePS 3 work will land on
masterover many pull requests, so a merge must not release a half-finished major version.JiraPS already guards its continuous release with
JIRAPS_CD_ENABLED; this does the same for ConfluencePS.What
continuous_release.yml: thereleasejob runs only on manual dispatch or when the repository variableCONFLUENCEPS_CD_ENABLEDis'true'.Tests/GitHubActions.Unit.Tests.ps1: asserts the guard, as JiraPS does..github/ai-context/releasing.md: the rollout-guard section from JiraPSreleasing.md, adapted to ConfluencePS. The JiraPS paragraph about thereleaseenvironment and tag protection is left out: ConfluencePS already has thereleaseenvironment and theprotect-release-tagsandimmutable-release-tagsrulesets.AGENTS.md: one line, so an agent does not expect a release after a merge.No changelog entry: nothing changes for module users.
Effect
CONFLUENCEPS_CD_ENABLEDdoes not exist today, so after this merges a push tomasterstarts no release preparation.Continuous Release, then set the variable totrueand rerun CI for the prepared commit, asreleasing.mddescribes.uses:line next to the newif:; whichever merges second needs a trivial rebase.Gate
Invoke-Build -Task Build, Test:Tests Passed: 1013, Failed: 0, Skipped: 44—Build succeeded. 8 tasks, 0 errors, 0 warnings.Invoke-Build -Task Lint:Tests Passed: 92, Failed: 0.Created by claude-opus-5-5 via Claude Code in T3 Code on behalf of @lipkau