1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-15 17:57:10 +00:00
plantuml/.github/workflows/add-triage-label.yml
dependabot[bot] 486b020a84
chore(deps): bump actions/github-script from 6 to 7
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 02:04:54 +00:00

24 lines
563 B
YAML

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