From e96f54920dc410acaad50a56feddc8e8b10c0c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Mata?= Date: Tue, 21 Jul 2026 17:53:44 -0700 Subject: [PATCH] Fix automated version bumps and advance prerelease version (#2748) * Bump version to next iteration after v0.7.3-alpha.4 release * Use GitHub token for automated version bump PRs --------- Co-authored-by: github-actions[bot] --- .github/workflows/publish.yml | 6 ++---- .sure-version | 2 +- charts/sure/Chart.yaml | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7326c74ad..4a07c57e9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -493,9 +493,7 @@ jobs: - name: Commit and push version bump env: SOURCE_BRANCH: ${{ steps.source_branch.outputs.branch }} - # The organization disallows GITHUB_TOKEN from creating pull requests, - # so prefer a dedicated token and fall back to the existing repository PAT. - GH_TOKEN: ${{ secrets.VERSION_BUMP_PR_TOKEN || secrets.GH_PAT || github.token }} + GH_TOKEN: ${{ github.token }} REF_NAME: ${{ github.ref_name }} run: | set -euo pipefail @@ -580,7 +578,7 @@ jobs: if [[ $pr_create_status -ne 0 ]]; then echo "::error::Pushed ${BUMP_BRANCH}, but could not create the version bump PR: ${pr_create_output}" if grep -q "GitHub Actions is not permitted to create or approve pull requests" <<< "$pr_create_output"; then - echo "::notice::Add a VERSION_BUMP_PR_TOKEN or GH_PAT secret with contents, pull requests, and workflows permissions." + echo "::notice::Enable the organization setting that allows GitHub Actions to create and approve pull requests." fi exit 1 fi diff --git a/.sure-version b/.sure-version index 0ad2651e5..4f20dd25f 100644 --- a/.sure-version +++ b/.sure-version @@ -1 +1 @@ -0.7.3-alpha.4 +0.7.3-alpha.5 diff --git a/charts/sure/Chart.yaml b/charts/sure/Chart.yaml index daf4d1456..6a2d83457 100644 --- a/charts/sure/Chart.yaml +++ b/charts/sure/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: sure description: Official Helm chart for deploying the Sure Rails app (web + Sidekiq) on Kubernetes with optional HA PostgreSQL (CloudNativePG) and Redis. type: application -version: 0.7.3-alpha.4 -appVersion: "0.7.3-alpha.4" +version: 0.7.3-alpha.5 +appVersion: "0.7.3-alpha.5" kubeVersion: ">=1.25.0-0"