Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
GHA CIs: drop previous runs (#557)
Browse files Browse the repository at this point in the history
* drop previous runs for subsequent updates (master, release & PRs)
* make use of new GHA concurrency feature
* concurrency group consists of workflow_name#github_ref
* see https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency
  • Loading branch information
alexsavulescu committed May 17, 2021
1 parent 0078e18 commit f320081
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/clang_cmake_format_check.yaml
@@ -1,4 +1,9 @@
name: clang-cmake-format-check

concurrency:
group: ${{ github.workflow }}#${{ github.ref }}
cancel-in-progress: true

on:
push:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coreneuron-ci.yml
@@ -1,5 +1,9 @@
name: CoreNEURON CI

concurrency:
group: ${{ github.workflow }}#${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage.yml
@@ -1,5 +1,9 @@
name: Coverage

concurrency:
group: ${{ github.workflow }}#${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down

0 comments on commit f320081

Please sign in to comment.