Skip to content

Commit a225f50

Browse files
authored
Update codeql-monorepo.yml
1 parent 6847814 commit a225f50

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/codeql-monorepo.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,12 @@ jobs:
8787
steps:
8888
- name: Analyze code
8989
uses: advanced-security/monorepo-code-scanning-action/scan@main
90+
# If you have a custom analysis workflow defined at .github/workflows/custom-codeql-analysis.yml, then set this to 'true' so that it is run.
9091
# custom-analysis: true
9192

93+
# You must use the 'republish' step to republish the results of missing analyses from the target branch to the PR, to pass required checks.
94+
# It will also copy these results to the target branch on merge, so that the full results are available in the target branch.
95+
9296
republish:
9397
runs-on: ubuntu-latest
9498
permissions:
@@ -97,8 +101,7 @@ jobs:
97101
actions: read
98102
needs: changes
99103
steps:
100-
- name: Republish results on merge
104+
- name: Republish results
101105
uses: advanced-security/monorepo-code-scanning-action/republish-sarif@main
102106
with:
103107
projects: ${{ needs.changes.outputs.projects }}
104-
# merged-only: true

0 commit comments

Comments
 (0)