Skip to content

Commit 2c84929

Browse files
committed
fix permissions location
1 parent 8075eed commit 2c84929

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish-preview.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
runs-on: ubuntu-22.04
1313
permissions:
1414
contents: read
15+
pull-requests: write
1516
name: Publish Preview
1617
steps:
1718
- uses: actions/checkout@v4
@@ -37,8 +38,6 @@ jobs:
3738
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3839
WRANGLER_OUTPUT_FILE_PATH: wrangler-logs.json
3940
- name: Post preview URL on PR
40-
permissions:
41-
pull-requests: write
4241
env:
4342
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4443
run: |

0 commit comments

Comments
 (0)