From e1fabc89f66fda01337f06c7e866e097fcba012a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parodi=2C=20Eugenio=20=F0=9F=8C=B6?= Date: Mon, 31 Mar 2025 14:17:10 +0100 Subject: [PATCH] chore: added workflow concurrency --- .github/workflows/release.yml | 8 ++++++-- .github/workflows/testing.yml | 7 ++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9cac79a9..eb41ef57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,9 @@ +name: Create Release + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: workflow_dispatch: push: @@ -13,8 +19,6 @@ permissions: pages: write id-token: write -name: Create Release - env: APP_NAME: pyTermTk diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index d47f6f48..13a47111 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,8 +1,9 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - name: Testing +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: [ main ]