We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ca4fbc + 56312af commit 6117c02Copy full SHA for 6117c02
1 file changed
.github/workflows/preview-shop-pr.yml
@@ -20,7 +20,7 @@ jobs:
20
# ─── Job 1: Detect which services changed ───
21
detect-changes:
22
name: Detect changed services
23
- if: github.event.action != 'closed'
+ if: github.event.action != 'closed' && startsWith(github.head_ref, 'demo-')
24
runs-on: ubuntu-latest
25
outputs:
26
matrix: ${{ steps.build-matrix.outputs.matrix }}
@@ -252,7 +252,7 @@ jobs:
252
# ─── Job 4: Stop all previews on merge/close ───
253
preview-stop:
254
name: Stop all previews on merge/close
255
- if: github.event.action == 'closed'
+ if: github.event.action == 'closed' && startsWith(github.head_ref, 'demo-')
256
257
timeout-minutes: 5
258
permissions:
0 commit comments