From 67fead74b476688272e5697ebf53d836733c6a58 Mon Sep 17 00:00:00 2001 From: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> Date: Tue, 4 Nov 2025 18:04:29 +0100 Subject: [PATCH] [ci] Add concurrency to automated tests workflow to cancel outdated runs (#3943) Add `concurrency` configuration to automatically cancel outdated test runs when new commits are pushed to the same PR/branch. Inspired by [MagicMirrorOrg/MagicMirror-Documentation#335](https://github.com/MagicMirrorOrg/MagicMirror-Documentation/pull/335). --- .github/workflows/automated-tests.yaml | 4 ++++ CHANGELOG.md | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/automated-tests.yaml b/.github/workflows/automated-tests.yaml index f8f5e3f2..c1110304 100644 --- a/.github/workflows/automated-tests.yaml +++ b/.github/workflows/automated-tests.yaml @@ -12,6 +12,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: code-style-check: runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index e623f1c5..8847eec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ planned for 2026-01-01 - [calendar] test: remove "Recurring event per timezone" test (#3929) - [calendar] chore: remove `requiresVersion: "2.1.0"` (#3932) - [tests] migrate from `jest` to `vitest` (#3940, #3941) +- [ci] Add concurrency to automated tests workflow to cancel outdated runs (#3943) ### Fixed