1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-19 19:55:09 +00:00
plantuml/.github/workflows/add-triage-label.yml

24 lines
563 B
YAML
Raw Normal View History

# https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
name: Label issues
2023-03-13 16:48:22 +00:00
on:
issues:
types:
- reopened
- opened
jobs:
label_issues:
2023-03-13 16:48:22 +00:00
runs-on: ubuntu-latest
permissions:
issues: write
2023-03-13 16:48:22 +00:00
steps:
- uses: actions/github-script@v6
2023-03-13 16:48:22 +00:00
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["triage"]
})