Skip to content

Commit 81fe812

Browse files
authored
CLOUD-929 workflow does not contain permissions (#2282)
1 parent 26cb01b commit 81fe812

4 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/labeler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: "PR Labeler"
2+
permissions:
3+
contents: read
4+
pull-requests: write
25
on:
36
pull_request:
47
types: [opened, synchronize]
5-
68
jobs:
79
label:
810
runs-on: ubuntu-latest

.github/workflows/scan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Scan docker
22
on: [pull_request]
3+
permissions:
4+
contents: read
35

46
env:
57
# Use docker.io for Docker Hub if empty

.github/workflows/stale.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55

66
jobs:
77
stale:
8+
permissions:
9+
contents: read
10+
pull-requests: write
811
runs-on: ubuntu-latest
912
steps:
1013
- uses: actions/stale@v10

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Run tests
2+
permissions:
3+
contents: read
4+
pull-requests: write
25
on: [pull_request]
36
jobs:
47
test:

0 commit comments

Comments
 (0)