Skip to content

Commit 1de86d2

Browse files
add missing permissions for workflows (#961)
1 parent ec35d18 commit 1de86d2

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/build-push.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- "*"
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
actions: read
13+
1014
jobs:
1115
build-push:
1216
runs-on: ubuntu-latest

.github/workflows/pr-labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pull_request_target:
66
types: [opened, reopened, synchronize]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
label-pr:
1013
name: Update PR labels

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
tags:
55
- "*"
66

7+
permissions:
8+
contents: read
9+
actions: read
10+
711
jobs:
812
release:
913
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)