Trying to prevent unnecessary CodeQL errors for contributors (#10867)
This commit is contained in:
committed by
GitHub
parent
e0fb606eb8
commit
1057df997d
9
.github/workflows/codeql-analysis.yml
vendored
9
.github/workflows/codeql-analysis.yml
vendored
@@ -57,5 +57,12 @@ jobs:
|
||||
uses: github/codeql-action/analyze@v1
|
||||
with:
|
||||
config-file: ./.github/codeql-config.yml
|
||||
|
||||
|
||||
# This job is to prevent the workflow status from showing as failed when all other jobs are skipped - See https://github.community/t/workflow-is-failing-if-no-job-can-be-ran-due-to-condition/16873
|
||||
always_job:
|
||||
name: Always run job
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Always run
|
||||
run: echo "This job is to prevent the workflow status from showing as failed when all other jobs are skipped"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user