mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-09 12:17:36 +08:00
ci: cancel previous workflow run on new commit (#7619)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user