Skip to content

feat(releases): Create automated PRs when new release is added#107

Merged
sandert-k8s merged 4 commits into
projectcapsule:mainfrom
sandert-k8s:releases
Jul 13, 2026
Merged

feat(releases): Create automated PRs when new release is added#107
sandert-k8s merged 4 commits into
projectcapsule:mainfrom
sandert-k8s:releases

Conversation

@sandert-k8s

@sandert-k8s sandert-k8s commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator
  • Use the latest version to just navigate to the main branch. Currently, the 0.13 branch is outdated since we didn't manually backport everything to that release.

  • Disable netfily cache, otherwise it doesn't get the capsule version dynamically in the installation docs

  • Created a workflow that creates PR's when a new release has been added, included signoff and GPG signing. To see, check the open PR's here: https://github.com/sandert-k8s/website/pulls (triggered manually with command below. It will be triggered automatically when there is a push on config/_default/params.yaml on main)

gh workflow run sync-version-switcher.yml \
  --repo sandert-k8s/website \
  --ref releases \
  --field version=v0.99 \
  --field url=https://projectcapsule.dev

fixes #101

Signed-off-by: sandert-k8s <sandert98@gmail.com>
Copilot AI review requested due to automatic review settings July 11, 2026 10:52
@netlify

netlify Bot commented Jul 11, 2026

Copy link
Copy Markdown

Deploy Preview for docs-projectcapsule ready!

Name Link
🔨 Latest commit f43b25f
🔍 Latest deploy log https://app.netlify.com/projects/docs-projectcapsule/deploys/6a5249c7a9fc890008170716
😎 Deploy Preview https://deploy-preview-107--docs-projectcapsule.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Pull request overview

Updates the documentation version configuration so the v0.13 release entry navigates to the main site (projectcapsule.dev), reflecting that the release-0-13 branch is no longer kept up to date.

Changes:

  • Set the site version param to v0.13.
  • Point the v0.13 entry in the versions dropdown to https://projectcapsule.dev.
  • Remove the separate latest entry from the versions list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread config/_default/params.yaml
@sandert-k8s sandert-k8s changed the title chore: set version to v0.13 feat(releases): Create automated PRs when new release is added Jul 11, 2026
@sandert-k8s sandert-k8s marked this pull request as draft July 11, 2026 10:57
@sandert-k8s sandert-k8s requested a review from Copilot July 11, 2026 11:13

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

Comment thread config/_default/params.yaml
Comment thread .github/workflows/sync-version-switcher.yml Outdated
Comment thread .github/workflows/sync-version-switcher.yml Outdated
Comment thread .github/workflows/sync-version-switcher.yml Outdated

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/sync-version-switcher.yml
Comment thread .github/workflows/sync-version-switcher.yml Outdated
Comment thread .github/workflows/sync-version-switcher.yml
@sandert-k8s sandert-k8s force-pushed the releases branch 3 times, most recently from 79d43c1 to 00abdcd Compare July 11, 2026 13:31
@sandert-k8s sandert-k8s marked this pull request as ready for review July 11, 2026 13:34
@sandert-k8s sandert-k8s requested a review from Copilot July 11, 2026 13:35
Signed-off-by: sandert-k8s <sandert98@gmail.com>
Signed-off-by: sandert-k8s <sandert98@gmail.com>

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

Comment thread .github/workflows/sync-version-switcher.yml
Comment thread .github/workflows/sync-version-switcher.yml
Comment thread .github/workflows/sync-version-switcher.yml Outdated
Comment thread config/_default/params.yaml
@sandert-k8s sandert-k8s force-pushed the releases branch 3 times, most recently from 23671f1 to 4b09067 Compare July 11, 2026 13:47
Signed-off-by: sandert-k8s <sandert98@gmail.com>
@sandert-k8s sandert-k8s merged commit bc2f75d into projectcapsule:main Jul 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version dropdown on old release branches is frozen and goes stale

3 participants