mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
chore(github): run community label only in main repo (#9083)
This commit is contained in:
2
.github/workflows/labeler-community.yml
vendored
2
.github/workflows/labeler-community.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user