restrict GitHub Actions workflow permissions (#5840)

This commit is contained in:
Alessandro Ros
2026-06-07 16:32:22 +02:00
committed by GitHub
parent c8eabc0307
commit 17fadee594
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -6,6 +6,9 @@ on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
go:
runs-on: ubuntu-24.04
+3
View File
@@ -3,6 +3,9 @@ name: nightly_binaries
on:
workflow_dispatch:
permissions:
contents: read
jobs:
nightly_binaries:
runs-on: ubuntu-24.04
+3
View File
@@ -6,6 +6,9 @@ on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test_64:
runs-on: ubuntu-24.04