Skip to content

Commit

Permalink
Backport more restrictive Actions permissions. (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmunro-ltrr authored Oct 16, 2024
1 parent 581bff4 commit 65acc5d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/review-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ on:
env:
AZ_SITE_HOST: ${{ vars.AZ_SITE_HOST }}
AZ_EPHEMERALIMAGENAME: ${{ vars.AZ_EPHEMERALIMAGENAME }}
permissions: write-all
jobs:
lint-code:
name: Check code for linting errors
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout repository to workspace
uses: actions/checkout@v4
Expand Down Expand Up @@ -67,6 +69,10 @@ jobs:
name: Build & deploy review site
needs: lint-code
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
pull-requests: write
steps:
- name: Checkout repository to workspace
uses: actions/checkout@v4
Expand Down

0 comments on commit 65acc5d

Please sign in to comment.