ansible / team-devtools

Shared practices, workflows and decisions impacting Ansible devtools projects

Home Page:https://ansible.readthedocs.io/projects/team-devtools/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gha: adopt cancel-in-progress

ssbarnea opened this issue · comments

In order to avoid resource waste on GHA and speedup getting results from active workflows we need to enable the cancel-in-progress feature and add a bit of code like:

concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
  cancel-in-progress: true