Skip to content

Commit 0cd3583

Browse files
authored
permissions read (#1365)
1 parent fba59d6 commit 0cd3583

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed

.github/workflows/codespell.yml

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

7+
permissions:
8+
contents: read
9+
710
jobs:
811
codespell:
912
name: Check for spelling errors

.github/workflows/deploy-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ concurrency:
1010
group: deploy-dev
1111
cancel-in-progress: false
1212

13+
permissions:
14+
contents: read
15+
1316
env:
1417
CP_WEB_URL: https://cloud.rxc.app/
1518
CP_BACKEND_URL: https://cloud-f188e2cd-51fb-4b29-b546-2ce4b9efc5d5.fly.dev/

.github/workflows/deploy-prd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ concurrency:
88
group: deploy-prod
99
cancel-in-progress: false
1010

11+
permissions:
12+
contents: read
13+
1114
env:
1215
FLY_API_TOKEN: ${{ secrets.PRD_FLY_API_TOKEN }}
1316

.github/workflows/deploy-stg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: deploy-staging
1010
cancel-in-progress: false
1111

12+
permissions:
13+
contents: read
14+
1215
env:
1316
FLY_API_TOKEN: ${{ secrets.STG_FLY_API_TOKEN }}
1417
CP_WEB_URL: https://cloud.reflexcorp.run/

.github/workflows/whitelist.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ name: whitelist check
33
on:
44
pull_request:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
reflex-web:
811
runs-on: ubuntu-latest
912
steps:
1013
- uses: actions/checkout@v4
1114
- name: Assert whitelist is empty
12-
run: echo -e "\nassert not WHITELISTED_PAGES, f'WHITELISTED_PAGES includes {WHITELISTED_PAGES}'" | cat "pcweb/whitelist.py" - | python3
15+
run: echo -e "\nassert not WHITELISTED_PAGES, f'WHITELISTED_PAGES includes {WHITELISTED_PAGES}'" | cat "pcweb/whitelist.py" - | python3

0 commit comments

Comments
 (0)