ci: Use GitHub Actions concurrency for cancelling duplicate jobs

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2021-12-17 10:50:57 -03:00 • committed by Xiang Xiao
parent 7ba6f7cdb3
commit 82646b9564
4 changed files with 12 additions and 17 deletions

View file

@ -2,6 +2,10 @@ name: ❄️ Lint
on: [pull_request]
concurrency:
group: lint-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
yamllint:
name: 🍺 YAML