chore(github): run community label only in main repo (#9083)

This commit is contained in:
Andoni Alonso
2025-10-30 10:16:55 +01:00
committed by GitHub
parent 80d58a7b50
commit c0df0cd1a8

View File

@@ -11,7 +11,7 @@ permissions: {}
jobs:
label-if-community:
name: Add 'community' label if the PR is from a community contributor
if: github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'OWNER'
if: github.repository == 'prowler-cloud/prowler' && github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'OWNER'
runs-on: ubuntu-latest
permissions:
pull-requests: write # to write the label