summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-10 15:28:03 +0300
committerGitHub <noreply@github.com>2026-05-10 15:28:03 +0300
commit1a1aacfe67699ab468fbb5672d9610af80dabc76 (patch)
treefddda82481c5f13e77bae26857a2f73c41cc6f00 /.github/workflows
parentab17f4d42034404f3cf5f5c64c01705345c7ead7 (diff)
parent36037b9f138a135aa7645a774a5412042da73f1d (diff)
downloadvyos-documentation-1a1aacfe67699ab468fbb5672d9610af80dabc76.tar.gz
vyos-documentation-1a1aacfe67699ab468fbb5672d9610af80dabc76.zip
Merge pull request #1937 from vyos/yuriy/preflight-rename-rolling
ci: defensive triggers ahead of current→rolling default-branch rename
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check-open-prs-conflict.yml1
-rw-r--r--.github/workflows/pr-mirror-repo-sync.yml9
-rw-r--r--.github/workflows/update-version-tags.yml3
3 files changed, 8 insertions, 5 deletions
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..1f01bd02 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
@@ -27,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 ;;