[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).
This commit is contained in:
Kristjan ESPERANTO
2025-11-04 18:04:29 +01:00
committed by GitHub
parent d7348ed765
commit 67fead74b4
2 changed files with 5 additions and 0 deletions

View File

@@ -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

View File

@@ -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