Skip to content

Commit

Permalink
fix(ci): setup permissions set for github token
Browse files Browse the repository at this point in the history
  • Loading branch information
Vacxe committed Oct 25, 2024
1 parent 197231e commit 839d81c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on: pull_request

jobs:
build:
permissions:
statuses: write
pull-requests: read
discussions: write
issues: write
contents: read

strategy:
fail-fast: false
matrix:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ on: [pull_request]

jobs:
build:
permissions:
actions: write
attestations: write
checks: write
contents: write
deployments: write
id-token: write
issues: write
discussions: write
packages: write
pages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write

runs-on: ubuntu-latest
name: "Run Danger"
steps:
Expand Down

0 comments on commit 839d81c

Please sign in to comment.