Skip to content

Commit 81ed2a6

Browse files
ci: limit workflow token permissions
1 parent 3257c42 commit 81ed2a6

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest

‎.github/workflows/mobile.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ on:
3737
type: boolean
3838
default: false
3939

40+
permissions:
41+
contents: read
42+
4043
defaults:
4144
run:
4245
working-directory: apps/mobile

0 commit comments

Comments
 (0)