diff --git a/.github/workflows/detekt-comment.yml b/.github/workflows/detekt-comment.yml index 95c1216f0..49a5abc0c 100644 --- a/.github/workflows/detekt-comment.yml +++ b/.github/workflows/detekt-comment.yml @@ -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 diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml index c5012e1b3..a96138f11 100644 --- a/.github/workflows/detekt.yml +++ b/.github/workflows/detekt.yml @@ -1,4 +1,4 @@ -name: Detekt +name: detekt on: pull_request: