Don't add 'engineering' label if already labelled (#39128)
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user