Skip to content

Commit

Permalink
fix permissions location
Browse files Browse the repository at this point in the history
  • Loading branch information
KianNH committed Feb 3, 2025
1 parent 8075eed commit 2c84929
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: write
name: Publish Preview
steps:
- uses: actions/checkout@v4
Expand All @@ -37,8 +38,6 @@ jobs:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
WRANGLER_OUTPUT_FILE_PATH: wrangler-logs.json
- name: Post preview URL on PR
permissions:
pull-requests: write
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 2c84929

Please sign in to comment.