mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-09 02:15:19 +00:00
Add permissions and concurrency groups to all workflows
Set contents: read permissions on every workflow and add per-workflow concurrency groups keyed on the git ref to deduplicate concurrent runs. Release workflow keeps cancel-in-progress: false so a release build is never canceled; job-level contents: write on attach-to-release is preserved. Concurrency groups use hardcoded prefixes so reusable workflows called from release.yml do not inherit the caller workflow name and collide.
This commit is contained in:
7
.github/workflows/linux-cli.yml
vendored
7
.github/workflows/linux-cli.yml
vendored
@@ -8,6 +8,13 @@ on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: linux-cli-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm-cache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user