fix(pypi): harden the WORKSPACE python detection in pip_repository #1898
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Check 'do not merge' label" | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - labeled | |
| - unlabeled | |
| jobs: | |
| block-do-not-merge: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check for "do not merge" label | |
| if: "contains(github.event.pull_request.labels.*.name, 'do not merge')" | |
| run: | | |
| echo "This PR has the 'do not merge' label and cannot be merged." | |
| exit 1 |