ci: Skip workflow tests on community PRs (#12501)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2025-01-08 12:44:31 +01:00 committed by GitHub
parent c64cd51822
commit bb6cd790b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,9 @@ jobs:
build:
name: Install & Build
runs-on: ubuntu-latest
if: github.event_name != 'pull_request_review' || startsWith(github.event.pull_request.base.ref, 'release/')
if: |
(github.event_name != 'pull_request_review' || startsWith(github.event.pull_request.base.ref, 'release/')) &&
!contains(github.event.pull_request.labels.*.name, 'community')
steps:
- uses: actions/checkout@v4.1.1
- run: corepack enable