1
0
mirror of synced 2025-12-25 11:03:37 -05:00

Don't add 'engineering' label if already labelled (#39128)

This commit is contained in:
Peter Bengtsson
2023-07-17 11:59:28 -04:00
committed by GitHub
parent 2e0651fc54
commit 34256e1cdd

View File

@@ -27,7 +27,7 @@ on:
jobs:
codeowners-docs-engineering:
if: ${{ github.repository == 'github/docs-internal' && !github.event.pull_request.draft }}
if: ${{ github.repository == 'github/docs-internal' && !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name, 'engineering') }}
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}