diff options
author | dundargoc <gocdundar@gmail.com> | 2023-09-10 15:21:56 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-09-10 17:56:45 +0200 |
commit | 06d48f6aa65a6694f7850246f56f208f98dcc587 (patch) | |
tree | 0a789302586937b7ea581e7c81d172afb1038b25 | |
parent | b6b70ae19915b87f78938eb576ab6def9354b1c5 (diff) | |
download | rneovim-06d48f6aa65a6694f7850246f56f208f98dcc587.tar.gz rneovim-06d48f6aa65a6694f7850246f56f208f98dcc587.tar.bz2 rneovim-06d48f6aa65a6694f7850246f56f208f98dcc587.zip |
ci(codeql): add concurrency to cancel unnecessary jobs early
-rw-r--r-- | .github/workflows/codeql.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a29ea46027..365c3fdf56 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,14 +1,15 @@ name: "CodeQL" +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true + on: push: branches: [ "master" ] pull_request: # The branches below must be a subset of the branches above branches: [ "master" ] - schedule: - - cron: '42 0 * * 0' - workflow_dispatch: jobs: analyze: name: Analyze |