From 9307760f9e222c5093cad39ab97fa74efd798447 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Fri, 28 Jan 2022 01:52:42 +0100 Subject: [PATCH 1/2] Cancel previous CI runs automatically. --- .github/workflows/continuous-integration-workflow.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 77f6ce1a..4cbfdf5d 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -1,5 +1,10 @@ name: Continuous Integration Workflow +# Automatically cancel a previous run. +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + on: push: branches: From ef25cc9ccfc7d33ab7a201a485e046d3de2e65e6 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Fri, 28 Jan 2022 01:53:38 +0100 Subject: [PATCH 2/2] to changes. --- docs/source/changes.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/changes.rst b/docs/source/changes.rst index 10c33d70..3508d619 100644 --- a/docs/source/changes.rst +++ b/docs/source/changes.rst @@ -24,6 +24,7 @@ all releases are available on `PyPI `_ and - :gh:`204` removes internal traceback frames from exceptions raised somewhere in pytask. - :gh:`208` fixes the best practices guide for parametrizations. +- :gh:`209` cancels previous CI runs automatically. 0.1.5 - 2022-01-10