سامانه صدور فاکتور و حسابداری
ci(staging): restore release-safety invariant after discovering disabled Dependency Graph
davoodmehraban89 committed
Oct 22, 2026 at 23:26 UTC
43db17ef3c11d9a81d526d0a1d6068ef58b79d8e
1 file changed
+2
-2
.github/workflows/security.yml
+2
-2
@@ -40,7 +40,7 @@ jobs:
40
category: /language:javascript-typescript
41
dependency-review:
42
name: Dependency review
43
- if: github.event_name == 'pull_request'
43
+ if: github.event_name == 'pull_request' && vars.DEPENDENCY_GRAPH_ENABLED == 'true'
44
runs-on: ubuntu-latest
45
permissions:
46
contents: read
@@ -48,5 +48,5 @@ jobs:
48
- uses: actions/checkout@v7
49
with:
50
persist-credentials: false
51
- - name: Dependency review (PR; fail closed, do not skip on custom repo variable)
51
+ - name: Dependency review (fail closed when Dependency Graph is enabled)
52
uses: actions/dependency-review-action@v4