fix: test workflow concurrency

This commit is contained in:
Catriel Müller
2026-04-14 00:14:28 -03:00
parent ac99bb5fb8
commit 98d60f1763
+8 -6
View File
@@ -7,15 +7,17 @@ on:
pull_request:
workflow_dispatch:
concurrency:
# Keep every run on main so cancelled checks do not pollute the default branch
# commit history. PRs and other branches still share a group and cancel stale runs.
group: ${{ case(github.ref == 'refs/heads/main', format('{0}-{1}', github.workflow, github.run_id), format('{0}-{1}', github.workflow, github.event.pull_request.number || github.ref)) }}
cancel-in-progress: true
# kilocode_change start
# concurrency:
# Keep every run on main so cancelled checks do not pollute the default branch
# commit history. PRs and other branches still share a group and cancel stale runs.
# group: ${{ case(github.ref == 'refs/heads/main', format('{0}-{1}', github.workflow, github.run_id), format('{0}-{1}', github.workflow, github.event.pull_request.number || github.ref)) }}
# cancel-in-progress: true
# kilocode_change end
permissions:
contents: read
# checks: write // kilocode_change
checks: write
jobs:
unit: