Skip to content

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

Split check labels to action with label-based triggers

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

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:

Check failure on line 10 in .github/workflows/check_labels.yaml

View workflow run for this annotation

GitHub Actions / PR Validation

Invalid workflow file

The workflow is not valid. .github/workflows/check_labels.yaml (Line: 10, Col: 5): Unexpected value 'runs_on' .github/workflows/check_labels.yaml (Line: 8, Col: 5): Required property is missing: 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