Skip to content

Merge branch 'main' into autointerval-esql-param #1

Merge branch 'main' into autointerval-esql-param

Merge branch 'main' into autointerval-esql-param #1

Workflow file for this run

name: "CodeQL PR"

Check failure on line 1 in .github/workflows/codeql-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codeql-pr.yml

Invalid workflow file

(Line: 12, Col: 9): Unexpected symbol: 'github'. Located at position 177 within expression: contains(github.event.pull_request.labels.*.name, 'ci:codeql') && contains(fromJSON('["MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.pull_request.author_association) github.event.pull_request.user.type != 'Bot' && github.event.pull_request.draft == false
on:
pull_request:
branches: [ "main" ]
types: [ opened, synchronize, ready_for_review ]
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: kibana
if: |
contains(github.event.pull_request.labels.*.name, 'ci:codeql') &&
contains(fromJSON('["MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.pull_request.author_association)
github.event.pull_request.user.type != 'Bot' &&
github.event.pull_request.draft == false
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Initialize CodeQL
uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
env:
CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES: true
with:
category: "/language:${{matrix.language}}"