Skip to content

Release issue ci job - #8819

Draft
pabzm wants to merge 2 commits into
mainfrom
release-issue-ci-job
Draft

pabzm wants to merge 2 commits into
mainfrom
release-issue-ci-job

Conversation

@pabzm

@pabzm pabzm commented Oct 12, 2026

Copy link
Copy Markdown
Member

This is an approach to reduce the number of manual clicks we are doing for release management.

The workflow can only be triggered manually, thus only by maintainers.

Summary

  • The PR was tested and verified that it works locally
  • Or will be tested after merge on a dedicated test instance (available for maintainers)
  • Sign-off message is added to all commits
  • Tests (playwright if possible) are included
  • Screenshots before/after for front-end changes
  • Documentation has been updated or is not required
  • Labels added where applicable (ex: bug/enhancement, 3. to review, feature component)
  • Milestone next added

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

pabzm added 2 commits October 12, 2026 11:25
This
* creates a new issue,
* sets the title, `overview` label, and `next` milestone,
* automatically adds the ID of the previous release issue,
* posts a link to the new issue in the previous release issue.

The job is pinned to this repo, and runs only on manual trigger, which
means no one but us maintainers can run it.

Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
AI-assistant: Claude Opus 5.5
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
AI-assistant: Claude Opus 5.5
@pabzm
pabzm requested review from szaimen and a balanced review from Copilot October 12, 2026 09:27
@pabzm pabzm self-assigned this Oct 12, 2026
@pabzm pabzm added the 3. to review Waiting for reviews label Oct 12, 2026
@pabzm

pabzm commented Oct 12, 2026

Copy link
Copy Markdown
Member Author

@szaimen I didn't test it yet, since that would create issues, etc., which I didn't want to do out of the blue. Rather I'd like to hear about your general feeling about this: can we go this route?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The generated commit lacks required DCO sign-off, and workflow-run correlation can monitor the wrong release run.

4 open findings
What changed in this PR

Automates recurring release-ticket creation and the three-stage AIO release process.

Changes:

  • Adds workflows for building, beta promotion, and stable publication.
  • Adds shared release orchestration scripts.
  • Adds automated recurring release-issue creation.
File Description
.github/​workflows/​release-1-build.yml Dispatches version bump and image build.
.github/​workflows/​release-2-beta.yml Dispatches testing and beta promotion.
.github/​workflows/​release-3-stable.yml Dispatches stable publication.
.github/​workflows/​create-release-issue.yml Creates recurring release issues.
.github/​scripts/​release-build.sh Commits the version and starts builds.
.github/​scripts/​release-beta.sh Tests, promotes, and creates a prerelease.
.github/​scripts/​release-stable.sh Publishes stable images and closes the milestone.
.github/​scripts/​release-lib.sh Provides shared release helpers.
.github/​scripts/​create-release-issue.sh Builds and submits the release issue.
.github/​release-issue-template.md Defines the release checklist.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

# `gh workflow run` doesn't return the run ID, so wait for a run newer than the last known one.
while [ -z "$id" ]; do
sleep 5
id="$(gh run list -R "$1" -w "$2" -L 1 --json databaseId --jq ".[] | select(.databaseId > $before) | .databaseId")"
- [ ] run [Release 2](https://github.com/nextcloud/all-in-one/actions/workflows/release-2-beta.yml) with the Nextcloud version that new instances can install directly: runs the E2E tests, deploys from develop to beta, creates the `vX.Y.Z Beta` pre-release with the autogenerated changelog and a Discussion, renames the `next` milestone to the version number, creates a new `next` milestone and moves all open issues/PRs to it
- [ ] post in all issues and discussions that were fixed/implemented that this is now released with the new beta version and post how to switch to the beta channel (e.g. `This is now released with X.Y.Z Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel`)
- [ ] wait a week and see if new bugs get reported and don't merge any PR into the main branch of this repo in the meantime!
- [ ] if not, publish to latest as describe below; if yes simply close this milestone and create a new one that includes the bugfixes and starts from the beginning of this guide
[[ "$(git remote get-url origin)" == *"$GH_REPO"* ]] || die "origin must point to $GH_REPO"

echo "$VERSION" > "$VERSION_FILE"
git commit -m "chore(release): bump AIO version to $VERSION" -- "$VERSION_FILE"
@@ -0,0 +1,23 @@
name: Create release issue

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants