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
55 stars 52 forks source link

CI: Add Concurrency Control to GitHub Actions Workflows #877

Open samadpls opened 2 months ago

samadpls commented 2 months 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 months ago

no objection, PR is welcome!