security(ci): quarantine upstream staging deployment dispatch in fork
davoodmehraban89 committed
Oct 14, 2026 at 23:23 UTC
f613026099386dca76fb6d1b8c797db54d63ccfe
1 file changed
+3
-1
.github/workflows/trigger-staging-deployment.yml
+3
-1
@@ -8,7 +8,9 @@ on:
8
9
jobs:
10
deploy:
11
- if: github.event.workflow_run.event != 'push'
11
+ # Imported action posts to the upstream medusajs/staging repository.
12
+ # Never dispatch owner-unrelated deployments from the Medusa store fork.
13
+ if: github.repository == 'medusajs/medusa' && github.event.workflow_run.event != 'push'
14
runs-on: ubuntu-latest
15
steps:
16
- run: |