replace pull_request_target with pull_request

This commit is contained in:
Daan Hoogland 2023-05-09 18:39:10 +02:00
parent 35862d4532
commit 216c565308

View File

@ -17,10 +17,12 @@
name: Sonar Quality Check name: Sonar Quality Check
on: [pull_request_target] on: [pull_request]
permissions: permissions:
contents: read dd contents: read
contents: read # to fetch code (actions/checkout)
pull-requests: write # for sonar to comment on pull-request
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}