Split check labels to action with label-based triggers #9
Workflow file for this run
This file contains 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
# GENERATED, DO NOT EDIT! | |
# To change, edit `src/python/pants_release/generate_github_workflows.py` and run: | |
# ./pants run src/python/pants_release/generate_github_workflows.py | |
jobs: | |
check_labels: | |
if: github.repository_owner == 'pantsbuild' | |
name: Ensure PR has a category label | |
runs-on: | |
- ubuntu-latest | |
steps: | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
name: Ensure category label | |
uses: mheap/[email protected] | |
with: | |
count: 1 | |
labels: category:new feature, category:user api change, category:plugin api | |
change, category:performance, category:bugfix, category:documentation, category:internal | |
mode: exactly | |
name: PR Validation | |
'on': | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- labeled | |
- unlabeled |