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:48:15 -03:00
committed by Xiang Xiao
parent 07d295b8db
commit 3eec9fcb9b
6 changed files with 20 additions and 17 deletions
+4
View File
@@ -30,6 +30,10 @@ on:
env:
IMAGE_NAME: apache-nuttx-ci-linux
concurrency:
group: docker-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
# Push image to GitHub Packages.
push: