Skip to content

Commit

Permalink
Set permissions for GitHub actions (apollographql#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
neilnaveen authored and jamesonwilliams committed Nov 16, 2024
1 parent d2fa296 commit cdf0d8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ on:
paths:
- docs/**

permissions:
contents: read

jobs:
publish:
permissions:
contents: none
uses: apollographql/docs/.github/workflows/publish.yml@main
secrets:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
Expand Down

0 comments on commit cdf0d8c

Please sign in to comment.