[kbn-eslint-plugin-eslint] add scout_api_test_encourage_api_client rule #4311
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "CodeQL PR" | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| types: [ opened, ready_for_review ] | |
| jobs: | |
| analyze: | |
| name: Analyze javascript | |
| runs-on: kibana | |
| if: | | |
| (contains(fromJSON('["MEMBER", "COLLABORATOR"]'), 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}}" |