fix(ci): setup permissions set for github token #451
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Danger Action | |
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: | |
- uses: actions/checkout@v4 | |
- name: Danger | |
uses: danger/kotlin@master | |
with: | |
args: "--id DangerKotlinAction" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |