no write for external forks

This commit is contained in:
Daan Hoogland 2023-05-09 17:35:12 +02:00
parent 9d46df57f2
commit 35862d4532

View File

@ -26,10 +26,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
pull-requests: write # for sonar to comment on pull-request
jobs: jobs:
build: build:
if: github.repository == 'apache/cloudstack' if: github.repository == 'apache/cloudstack'