mirror of
https://github.com/awsdocs/aws-doc-sdk-examples.git
synced 2026-03-26 06:22:18 +00:00
35 lines
938 B
YAML
35 lines
938 B
YAML
name: Label Checker
|
|
on: # yamllint disable-line rule:truthy
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- labeled
|
|
- unlabeled
|
|
workflow_run:
|
|
workflows: [Keep PRs Updated from Main]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
check_oncall_labels:
|
|
name: Check On Call Review labels
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: docker://agilepathway/pull-request-label-checker:latest
|
|
with:
|
|
all_of: On Call Review complete
|
|
none_of: On Call Review needed
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
check_stats_labels:
|
|
name: Check Stats labels
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: docker://agilepathway/pull-request-label-checker:latest
|
|
with:
|
|
one_of: Application,MVP,Feature Scenario,Task,Bug,Basics,dependencies,Single action example
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|