Skip to content

Commit 6faabda

Browse files
ci: explicit permissions
1 parent e8e30a1 commit 6faabda

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ jobs:
66
# Prevent running this on forks
77
if: github.repository_owner == 'flybywiresim'
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
911
steps:
1012
- name: Checkout source
1113
uses: actions/checkout@v2

.github/workflows/production.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
# Prevent running this on forks
1010
if: github.repository_owner == 'flybywiresim'
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1214
steps:
1315
- name: Checkout source
1416
uses: actions/checkout@v2

.github/workflows/staging.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
# Prevent running this on forks
1010
if: github.repository_owner == 'flybywiresim'
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1214
steps:
1315
- name: Checkout source
1416
uses: actions/checkout@v2

0 commit comments

Comments
 (0)