jonescompneurolab / hnn-core

Simulation and optimization of neural circuits for MEG/EEG source estimates
https://jonescompneurolab.github.io/hnn-core/
BSD 3-Clause "New" or "Revised" License
53 stars 51 forks source link

CI: Add Concurrency Control to GitHub Actions Workflows #877

Open samadpls opened 2 weeks ago

samadpls commented 2 weeks ago

Our current GitHub Actions workflows lack concurrency control, leading to multiple workflows running simultaneously on outdated commits. This wastes resources and delays feedback.

Proposed Solution: Add the following concurrency control block to our workflows:

concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  cancel-in-progress: true
jasmainak commented 2 weeks ago

no objection, PR is welcome!