From e8142c5dbc42e7ca6d6b5498ca290f524b519fda Mon Sep 17 00:00:00 2001 From: Mauro Ezequiel Moltrasio Date: Mon, 22 Jun 2026 16:03:59 +0200 Subject: [PATCH] fix: release workflow needs to start on main The release workflow is currently broken because it checks out the release-* branch and attempts to run an action from there, this action does not exist in the release-* branch and should instead be using the version from main. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a18a1475..0889448b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,6 @@ jobs: with: submodules: true fetch-depth: 0 - ref: release-${{ inputs.version }} token: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }} - uses: ./.github/actions/validate-version @@ -38,6 +37,7 @@ jobs: - name: Determine patch version id: patch run: | + git checkout release-"${VERSION}" last_tag="$(git describe --tags --abbrev=0)" if [[ "$last_tag" =~ ^"${VERSION}"\.x$ ]]; then