Skip to content

Commit

Permalink
add permissions to take out write-all in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SecondeJK committed Oct 2, 2023
1 parent a7db15d commit 128c323
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ name: build

on: [ push, pull_request ]

permissions:
actions: write
checks: write
contents: read
deployments: read
issues: write
discussions: write
packages: read
pages: write
pull-requests: write
security-events: write
statuses: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ on:
release:
types: [ published, edited ]

permissions:
actions: write
checks: write
contents: read
deployments: read
issues: write
discussions: write
packages: read
pages: write
pull-requests: write
security-events: write
statuses: write

jobs:
add-changelog:
name: Add Changelog
Expand Down

0 comments on commit 128c323

Please sign in to comment.