Trying to prevent unnecessary CodeQL errors for contributors (#10867)

This commit is contained in:
Sebastiaan Janssen
2021-08-16 15:40:06 +02:00
committed by GitHub
parent e0fb606eb8
commit 1057df997d

View File

@@ -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"