Cancel runs on subsequent push to PR but not to branches

This commit is contained in:
Andras Fekete
2023-01-19 10:12:08 -05:00
parent d955768744
commit 2276fca0f4
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
name: Test Espressif examples on various official Docker containers name: Test Espressif examples on various official Docker containers
concurrency: concurrency:
group: ${{ github.ref }} group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on: on:
push: push:

View File

@@ -1,6 +1,6 @@
name: Ubuntu-Macos-Windows Tests name: Ubuntu-Macos-Windows Tests
concurrency: concurrency:
group: ${{ github.ref }} group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true cancel-in-progress: true
on: on: