Skip to content

Commit 7c645a7

Browse files
authored
Enable CodeQL for all member/collaborator PRs (#244812)
## Summary Removes the restrictions on CodeQL analysis, so all Elastic contributors can benefit from analysis prior to merging their PRs.
1 parent ff8d720 commit 7c645a7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/codeql-pr.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@ jobs:
99
analyze:
1010
name: Analyze javascript
1111
runs-on: kibana
12-
# Hardcoded list of users will be removed once testing is complete
1312
if: |
14-
contains(fromJSON('["elena-shostak", "SiddharthMantri", "azasypkin", "kc13greiner", "jeramysoucy", "rgodfrey-elastic", "legrego"]'), github.event.pull_request.user.login) ||
15-
(contains(github.event.pull_request.labels.*.name, 'ci:codeql') &&
16-
contains(fromJSON('["MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.pull_request.author_association) &&
13+
(contains(fromJSON('["MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) &&
1714
github.event.pull_request.user.type != 'Bot' &&
1815
github.event.pull_request.draft == false)
1916
permissions:

0 commit comments

Comments
 (0)