summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYevhen Bondarenko <evgeniy.bondarenko@sentrium.io>2026-07-13 09:48:43 +0200
committerGitHub <noreply@github.com>2026-07-13 09:48:43 +0200
commitfba5f9d9a47c2a9879adaee5be7e4ca466443476 (patch)
tree1b761a3aa5cf8a6e6e8708378def6121fb29add1 /.github/workflows
parentd7a182d7ce038c4ffa86500372b519e2d92069e8 (diff)
parentd5028041cb783f5c9f3279f38828dbacbb38081f (diff)
downloadvyos-documentation-fba5f9d9a47c2a9879adaee5be7e4ca466443476.tar.gz
vyos-documentation-fba5f9d9a47c2a9879adaee5be7e4ca466443476.zip
Merge pull request #2150 from vyos/claude/workers-vitest4
docs: fix workers dependency conflict + test workers changes on PRs
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/apex-deploy.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/apex-deploy.yml b/.github/workflows/apex-deploy.yml
index 1528221b..6459ac7a 100644
--- a/.github/workflows/apex-deploy.yml
+++ b/.github/workflows/apex-deploy.yml
@@ -4,10 +4,15 @@ on:
push:
branches: [rolling]
paths: ["workers/**"]
+ pull_request:
+ paths: ["workers/**"]
workflow_dispatch: {}
concurrency:
- group: apex-deploy-${{ github.ref_name }}
+ # PR runs group per PR number (not head ref — same-named branches from
+ # different forks would otherwise share a group) so pushes to the same PR
+ # queue/cancel independently of the rolling deploy group.
+ group: apex-deploy-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.ref_name }}
# false (not true): a mid-job cancel can leave the apex/preview worker pair
# half-updated; queuing subsequent runs is safe.
cancel-in-progress: false
@@ -26,6 +31,7 @@ jobs:
deploy-canary:
needs: test
+ if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -58,6 +64,7 @@ jobs:
deploy-production:
needs: deploy-canary
+ if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
environment: docs-production # requires reviewer approval (§7.2)
steps: