Skip to content

Commit f55e53d

Browse files
committed
fix(ci): add contents:read permission and set VOID_PROJECT explicitly
The checkout action needs contents:read when custom permissions are set. Set VOID_PROJECT to vp-setup-staging explicitly instead of relying on .void/project.json.
1 parent c82b7a8 commit f55e53d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches: [main]
77

88
permissions:
9+
contents: read
910
pull-requests: write
1011

1112
jobs:
@@ -38,6 +39,7 @@ jobs:
3839
- run: vpx void deploy
3940
env:
4041
VOID_TOKEN: ${{ secrets.VOID_TOKEN }}
42+
VOID_PROJECT: vp-setup-staging
4143
- name: Comment on PR
4244
uses: actions/github-script@v7
4345
with:

0 commit comments

Comments
 (0)