mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Do not run CodeQL on dependabot PRs
This commit is contained in:
parent
0d7292ec73
commit
fb6a9656a1
1 changed files with 2 additions and 1 deletions
3
.github/workflows/codeql-analysis.yml
vendored
3
.github/workflows/codeql-analysis.yml
vendored
|
@ -25,7 +25,8 @@ jobs:
|
|||
|
||||
# CodeQL runs on ubuntu-latest and windows-latest
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
# CodeQL fails to run pull requests from dependabot due to missing write access to upload results.
|
||||
if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') && github.event.head_commit.pusher.name != 'dependabot[bot]' }}
|
||||
|
||||
env:
|
||||
enable_install_doc: no
|
||||
|
|
Loading…
Reference in a new issue