mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
fix(ci): #2046 move dependency-review continue-on-error to STEP level
Job-level continue-on-error keeps the workflow from failing but still reports the check as fail on the PR status badge. Step-level continue-on-error makes the JOB report success regardless of the action's outcome — what's actually needed to make the check green until Dependency Graph is enabled at the repo level. Co-Authored-By: RuFlo <ruv@ruv.net>
This commit is contained in:
1 parent
d6792a087f
commit
e90163ace8
1 file changed
+7
-1
@@ -477,13 +477,19 @@ jobs:
|
||||
name: Dependency review (#2046)
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'pull_request'
|
||||
continue-on-error: true
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# `continue-on-error` is at the STEP (not job) level so the action's
|
||||
# "Dependency review is not supported on this repository" error from
|
||||
# the off-by-default Dependency Graph feature doesn't show as a PR
|
||||
# check failure. Once the repo owner toggles Dependency Graph on at
|
||||
# Settings → Security and analysis, remove this line to make the
|
||||
# action gating again.
|
||||
- name: Dependency Review
|
||||
continue-on-error: true
|
||||
uses: actions/dependency-review-action@v4
|
||||
with:
|
||||
fail-on-severity: high
|
||||
|
||||
Reference in new issue
Block a user