Skip to content

Split check labels to action with label-based triggers #9

Split check labels to action with label-based triggers

Split check labels to action with label-based triggers #9

Workflow file for this run

# 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