diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 816492278e..2d8cf0060d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,8 +14,6 @@ name: "CodeQL" on: # push: # branches: [ "main", "master" ] - schedule: - - cron: '0 0 * * *' pull_request: branches: '*' @@ -27,7 +25,7 @@ jobs: # - https://gh.io/supported-runners-and-hardware-resources # - https://gh.io/using-larger-runners # Consider using larger runners for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-20.04' }} + runs-on: ubuntu-20.04 timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} permissions: actions: read