[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