mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
replace pull_request_target with pull_request
This commit is contained in:
parent
35862d4532
commit
216c565308
6
.github/workflows/sonar-check.yml
vendored
6
.github/workflows/sonar-check.yml
vendored
@ -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 }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user