diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 117c9ac2d9f..d7ebfd722c8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: "CodeQL" on: push: - branches: [ "master" ] + branches: [ master ] pull_request: - branches: [ "master" ] + branches: [ master ] schedule: - cron: '36 22 * * 5' @@ -14,10 +14,9 @@ jobs: runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} permissions: - security-events: write - actions: read contents: read + security-events: write strategy: fail-fast: false @@ -25,7 +24,7 @@ jobs: language: [ 'java-kotlin' ] steps: - - name: Checkout repository + - name: Checkout uses: actions/checkout@v4 - name: Setup Java @@ -47,4 +46,4 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: - category: "/language:${{matrix.language}}" + category: "/language:${{ matrix.language }}"