Skip to content

Commit

Permalink
Merge pull request #133 from DroidKaigi/takahirom/add-detekt-comment-…
Browse files Browse the repository at this point in the history
…workflow/2024-07-15

Fix permission for detekt yml
  • Loading branch information
takahirom authored Jul 15, 2024
2 parents d872ad1 + f1be809 commit cdbc315
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/detekt-comment.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: Detekt Comment
name: detekt-comment

on:
workflow_run:
workflows: ["Detekt"]
workflows: ["detekt"]
types:
- completed

permissions:
actions: read
pull-requests: write

jobs:
comment:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Detekt
name: detekt

on:
pull_request:
Expand Down

0 comments on commit cdbc315

Please sign in to comment.