Skip to content

Commit

Permalink
ci: cleanup workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Jul 15, 2023
1 parent 3814e9c commit 0b74efa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ env:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -21,6 +18,9 @@ jobs:
run:
working-directory: docs

permissions:
contents: read

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -46,7 +46,6 @@ jobs:
needs: build

permissions:
contents: read
pages: write
id-token: write

Expand Down

0 comments on commit 0b74efa

Please sign in to comment.