Skip to content

Commit 9dd5014

Browse files
committed
ci: skip CodeQL critical selector for draft PRs
1 parent 8580383 commit 9dd5014

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/codeql-critical-quality.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ permissions:
144144
jobs:
145145
quality-shards:
146146
name: Select Critical Quality shards
147+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
147148
runs-on: blacksmith-4vcpu-ubuntu-2404
148149
timeout-minutes: 5
149150
outputs:

0 commit comments

Comments
 (0)