diff options
| author | dundargoc <gocdundar@gmail.com> | 2025-03-30 14:55:09 +0200 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2025-03-30 18:34:31 +0200 |
| commit | ff6471d4f837354d8257dfa326b031dd8858b16e (patch) | |
| tree | 6a83b24eb3c3844f23fca8e02f1faa48e3847306 /.github/workflows | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-ff6471d4f837354d8257dfa326b031dd8858b16e.tar nvim-lspconfig-ff6471d4f837354d8257dfa326b031dd8858b16e.tar.gz nvim-lspconfig-ff6471d4f837354d8257dfa326b031dd8858b16e.tar.bz2 nvim-lspconfig-ff6471d4f837354d8257dfa326b031dd8858b16e.tar.lz nvim-lspconfig-ff6471d4f837354d8257dfa326b031dd8858b16e.tar.xz nvim-lspconfig-ff6471d4f837354d8257dfa326b031dd8858b16e.tar.zst nvim-lspconfig-ff6471d4f837354d8257dfa326b031dd8858b16e.zip | |
ci: cancel old jobs on PR update
Closes: https://github.com/neovim/nvim-lspconfig/issues/3669
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/lint.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 173c0dda..346ad478 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,10 +1,13 @@ name: lint - on: pull_request: branches: - master +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: deprecated-functions: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25600055..45069e8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,13 @@ name: test - on: pull_request: branches: - master +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: test: name: Run Test |
