.github/workflow-templates/labeler.yml
Adam Moussa 576cee5a1d INFRA-58: add org starter workflows wrapping reusable workflows
Adds workflow-templates/ with starters + .properties.json for:
ci-node, ci-python, cdk-deploy, sam-deploy, dependency-review, labeler,
triage. CI/CD starters call the org reusable workflows in
.github/.github/workflows/ at @main with their required inputs/secrets.
2026-06-05 16:43:58 -04:00

20 lines
546 B
YAML

name: Labeler
on: [pull_request_target]
permissions:
contents: read
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
# Requires .github/labeler.yml in this repo, e.g.:
# infra: [ 'cdk/**', 'template.yaml', 'oidc-deploy-roles.yaml' ]
# lambda: [ 'lambdas/**', 'src/**', 'functions/**' ]
# ci: [ '.github/workflows/**' ]
# docs: [ '**/*.md' ]
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true