Category name limit is 40 chars... but Lunch Money allows longer names #386
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
name: Labeler | |
on: | |
push: | |
branches: | |
- main | |
issues: | |
types: [opened] | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- labeled | |
- unlabeled | |
branches: | |
- main | |
jobs: | |
label-sync: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v3 | |
- name: Run Labeler | |
uses: crazy-max/[email protected] | |
with: | |
yaml-file: .github/labels.yaml | |
skip-delete: false | |
dry-run: false | |
apply-triage-label: | |
if: github.event_name == 'issues' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v6 | |
with: | |
script: | | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['triage'] | |
}) |