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 c9cd353
Show file tree
Hide file tree
Showing 2 changed files with 14 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
7 changes: 7 additions & 0 deletions .github/workflows/danger.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

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

0 comments on commit c9cd353

Please sign in to comment.