Skip to content
Permalink
Browse files
set minimal permissions for each workflow
  • Loading branch information
colearendt committed Jun 18, 2022
1 parent 7358f17 commit 34004d9d5b63c607af2635f7cadd404250b8cb53
Showing 3 changed files with 13 additions and 0 deletions.
@@ -3,6 +3,10 @@ name: Rebuild index.yaml manually
on:
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
rebuild:
runs-on: ubuntu-latest
@@ -5,6 +5,10 @@ on:
branches:
- main

permissions:
contents: read
deployments: write

jobs:
release:
runs-on: ubuntu-latest
@@ -6,6 +6,11 @@ on:
- main
pull_request:

permissions:
checks: write
contents: read
statuses: write

jobs:
lint:
runs-on: ubuntu-latest

0 comments on commit 34004d9

Please sign in to comment.