fix: Always rune code scanning, even if draft PR
This commit is contained in:
parent
47662c359e
commit
8d577aaa93
2 changed files with 3 additions and 3 deletions
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -19,8 +19,6 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
if: ${{ !github.event.pull_request.draft }}
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: debian:trixie-slim
|
container: debian:trixie-slim
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
|
|
||||||
4
.github/workflows/sonarcloud-analysis.yml
vendored
4
.github/workflows/sonarcloud-analysis.yml
vendored
|
|
@ -18,7 +18,9 @@ on:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sonarcloud-analysis:
|
analyze:
|
||||||
|
# This job would fail for contributors who open PRs as the workflow runs outside of our repo
|
||||||
|
# in this scenario. Having a var that only we set to true prevents this job from running.
|
||||||
if: ${{ vars.SONAR_SCANNER_ENABLED }}
|
if: ${{ vars.SONAR_SCANNER_ENABLED }}
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue