Skip to content

Commit 575e398

Browse files
committed
Set minimal token permissions
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
1 parent dc99b6c commit 575e398

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- 3.*
77
pull_request:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test:
1114
name: Test

.github/workflows/pr-comment.yml

+6
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ name: Agrega comentario a PR
33
on:
44
pull_request_target:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
pr-comment:
811
name: Entradas sin traducción
912
runs-on: ubuntu-22.04
13+
permissions:
14+
issues: write
15+
pull-requests: write
1016
steps:
1117
- uses: actions/checkout@v4
1218
with:

.github/workflows/stale.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ on:
33
schedule:
44
- cron: '30 1 * * *'
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
stale:
811
runs-on: ubuntu-latest
12+
permissions:
13+
issues: write
14+
pull-requests: write
915
steps:
1016
- uses: actions/stale@v8
1117
with:

0 commit comments

Comments
 (0)