Skip to content

Commit 98f40a3

Browse files
authored
security: add permissions block to workflows (#178)
1 parent 1cd74ab commit 98f40a3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/addToProject.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
env:
77
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
assign_one_project:
1114
runs-on: ubuntu-latest

.github/workflows/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
env:
88
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
triage:
1215
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)