Skip to content

Commit

Permalink
ci(detekt): add job write permissions to security-events
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-Ritter authored Jan 13, 2024
1 parent 3a6bd71 commit 4a2633e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ jobs:
name: Detekt Scan
# The type of runner that the job will run on
runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down

0 comments on commit 4a2633e

Please sign in to comment.