From 6e90f913fa2c244418d95f741e0e9628f05578de Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Sun, 10 May 2026 14:48:03 +0300 Subject: ci: add rolling to workflow branch triggers ahead of current→rolling rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Defensive pre-flight for the planned rename of the default branch from current to rolling. Adds rolling alongside current to push/pull-request triggers and to the manual dispatch choice list so workflows continue to fire across the rename atomically. Workflow input defaults remain on current — they will be flipped, and current dropped, in the post-rename cleanup PR. Cosmetic naming (submodules.yml job/branch names, conf.py fallback, README, PR template link) is intentionally deferred to that cleanup PR to avoid documenting a branch that does not yet exist. 🤖 Generated by [robots](https://vyos.io) --- .github/workflows/check-open-prs-conflict.yml | 1 + .github/workflows/pr-mirror-repo-sync.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/check-open-prs-conflict.yml b/.github/workflows/check-open-prs-conflict.yml index 52b11938..3aa9ce05 100644 --- a/.github/workflows/check-open-prs-conflict.yml +++ b/.github/workflows/check-open-prs-conflict.yml @@ -3,6 +3,7 @@ on: push: branches: - current + - rolling - sagitta - circinus workflow_dispatch: diff --git a/.github/workflows/pr-mirror-repo-sync.yml b/.github/workflows/pr-mirror-repo-sync.yml index dca33b4c..cc79a0c5 100644 --- a/.github/workflows/pr-mirror-repo-sync.yml +++ b/.github/workflows/pr-mirror-repo-sync.yml @@ -3,7 +3,7 @@ name: PR Mirror and Repo Sync on: pull_request_target: types: [closed] - branches: [current] + branches: [current, rolling] workflow_dispatch: inputs: sync_branch: @@ -13,6 +13,7 @@ on: type: choice options: - current + - rolling permissions: pull-requests: write -- cgit v1.2.3 From 36037b9f138a135aa7645a774a5412042da73f1d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 10 May 2026 12:00:24 +0000 Subject: ci: derive sync branch by PR base and add rolling tag trigger Agent-Logs-Url: https://github.com/vyos/vyos-documentation/sessions/13538647-bbfb-438c-bec8-30f9ee0aa923 Co-authored-by: andamasov <12631358+andamasov@users.noreply.github.com> --- .github/workflows/pr-mirror-repo-sync.yml | 6 +++--- .github/workflows/update-version-tags.yml | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/pr-mirror-repo-sync.yml b/.github/workflows/pr-mirror-repo-sync.yml index cc79a0c5..1f01bd02 100644 --- a/.github/workflows/pr-mirror-repo-sync.yml +++ b/.github/workflows/pr-mirror-repo-sync.yml @@ -28,9 +28,9 @@ jobs: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true) ) - uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@current - with: - sync_branch: ${{ github.event.inputs.sync_branch || 'current' }} + uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@current + with: + sync_branch: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.base.ref || github.event.inputs.sync_branch || 'current' }} secrets: PAT: ${{ secrets.PAT }} REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} diff --git a/.github/workflows/update-version-tags.yml b/.github/workflows/update-version-tags.yml index eb87f801..c7c372a3 100644 --- a/.github/workflows/update-version-tags.yml +++ b/.github/workflows/update-version-tags.yml @@ -4,6 +4,7 @@ on: push: branches: - current + - rolling - circinus - sagitta @@ -27,7 +28,7 @@ jobs: run: | set -euo pipefail case "$BRANCH" in - current) TAG=rolling ;; + current|rolling) TAG=rolling ;; circinus) TAG=1.5 ;; sagitta) TAG=1.4 ;; *) echo "Unexpected branch: $BRANCH" >&2; exit 1 ;; -- cgit v1.2.3