ci: cancel previous workflow run on new commit (#7619)

This commit is contained in:
André Costa
2025-01-23 18:50:54 +01:00
committed by GitHub
parent d066084e29
commit 05a0395a1c
13 changed files with 80 additions and 0 deletions
+6
View File
@@ -3,6 +3,12 @@ on:
push:
pull_request:
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
# Ensure that only one commit will be running tests at a time on each PR
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
test_api_json:
if: github.repository == 'lvgl/lvgl'