Skip to content

Commit 5c6e239

Browse files
committed
github: harden workflow permissions
Signed-off-by: Stefan Kober <stefan.kober@cyberus-technology.de> On-behalf-of: SAP stefan.kober@sap.com
1 parent 6e26360 commit 5c6e239

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/qa.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: QA
22
on: [ pull_request ]
3+
permissions:
4+
contents: read
35
jobs:
46
flake-check:
57
name: Nix Flake Checks
@@ -32,6 +34,8 @@ jobs:
3234
runs-on: large_runner_16core_64gb
3335
steps:
3436
- uses: actions/checkout@v6
37+
with:
38+
persist-credentials: false
3539
- uses: cachix/install-nix-action@v31
3640
- uses: cachix/cachix-action@v17
3741
with:

0 commit comments

Comments
 (0)