Skip to content

Commit

Permalink
Add read permissions for Authorization Check workflow job
Browse files Browse the repository at this point in the history
  • Loading branch information
admdly authored Feb 20, 2025
1 parent 41da03d commit 1908042
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
# Require authorization/approval before running on external forks/pull requests.
authorize:
name: 'Authorization Check'
permissions:
contents: read
environment: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.id != github.repository_id && 'external' || 'internal' }}
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -42,4 +44,4 @@ jobs:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
with:
environment: 'Production'
prod_deployment: true
prod_deployment: true

0 comments on commit 1908042

Please sign in to comment.