File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77- If you use the GitHub Actions example, replace the combined workflow with the
88 [ PR workflow] ( workflows/github-actions.yml ) and require its ` socket-security `
9- check. Install the [ push workflow] ( workflows/github-actions-push.yml ) to keep
10- branch scans and baseline updates. Install the
9+ check. Install the [ push workflow] ( workflows/github-actions-push.yml ) in the
10+ same change: the PR workflow doesn't run on pushes, so without it the
11+ default-branch baseline stops updating and PR comparisons run against an old
12+ scan. Install the
1113 [ ignore-command workflow] ( workflows/github-actions-comments.yml ) if you use PR
1214 ignore commands.
1315
Original file line number Diff line number Diff line change @@ -559,7 +559,10 @@ exclusive to the PR workflow in either setup. A job skipped by a job-level
559559
560560When replacing the combined example, copy the PR workflow to the existing
561561workflow path and remove any other jobs named `socket-security`. Confirm the
562- PR job reports the check named in branch protection. If you use
562+ PR job reports the check named in branch protection. Add the push workflow in
563+ the same change : the PR workflow doesn't run on pushes, so without it the
564+ default-branch baseline stops updating and later PR comparisons run against an
565+ old scan. If you use
563566` --strict-blocking` as a merge gate, verify a reopened PR with an existing
564567Block alert fails and a completed clean comparison passes.
565568
You can’t perform that action at this time.
0 commit comments