Adds condition for ignoring docs-content-fr label if for CodeQL CLI (#41712)
Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
||||
return 'false'
|
||||
- name: Label external contributor pull requests with docs-content-fr
|
||||
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
|
||||
if: steps.set-result.outputs.result == 'false'
|
||||
if: steps.set-result.outputs.result == 'false' || contains(github.event.pull_request.head.ref, "codeql-cli-update")
|
||||
with:
|
||||
repo-token: '${{ secrets.DOCS_BOT_PAT_WORKFLOW_READORG }}'
|
||||
add-labels: 'docs-content-fr'
|
||||
|
||||
Reference in New Issue
Block a user