Skip to content

Commit

Permalink
github: workflows: docs: restrict workflow permissions to job
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed Sep 4, 2024
1 parent a2e4f11 commit d14fe34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ on: # yamllint disable-line rule:truthy
branches:
- master

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

concurrency:
cancel-in-progress: true
group: pages
Expand All @@ -19,6 +14,11 @@ jobs:
docs:
runs-on: ubuntu-22.04

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

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit d14fe34

Please sign in to comment.