Skip to content

Commit 0168c4a

Browse files
authored
Add permission blocks to other workflows (thanos-community#482)
An attempt to fix frozen actions on dependabot PRs. Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
1 parent 743069f commit 0168c4a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ env:
1414
golang-version: '1.25'
1515
kind-version: 'v0.30.0'
1616

17+
permissions:
18+
contents: read
19+
pull-requests: read
20+
1721
jobs:
1822
lint:
1923
runs-on: ubuntu-latest

.github/workflows/helm-chart.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ env:
1818
kind-version: 'v0.30.0'
1919
kind-image: 'kindest/node:v1.34.0'
2020

21+
permissions:
22+
contents: read
23+
pull-requests: read
24+
2125
jobs:
2226
test-e2e:
2327
name: Run on Ubuntu

0 commit comments

Comments
 (0)