Skip to content

Commit 157163d

Browse files
committed
Add explicit permissions to E2E reusable workflows
Set minimal `contents: read` permissions to satisfy CodeQL security analysis requirements.
1 parent 71f5d85 commit 157163d

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/e2e-android-rntester.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: E2E Android RNTester
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_call:
58
outputs:

.github/workflows/e2e-android-templateapp.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: E2E Android Template App
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_call:
58
outputs:

.github/workflows/e2e-ios-rntester.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: E2E iOS RNTester
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_call:
58
outputs:

.github/workflows/e2e-ios-templateapp.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: E2E iOS Template App
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_call:
58
outputs:

0 commit comments

Comments
 (0)