1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-09 19:52:25 +00:00

Merge pull request #1324 from evantill/master

build: update issue triage workflow
This commit is contained in:
PlantUML 2023-03-14 08:14:31 +01:00 committed by GitHub
commit 44b4051016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,23 @@
# https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
name: Label issues
on: on:
issues: issues:
types: types:
- reopened - reopened
- opened - opened
name: Add triage label
jobs: jobs:
automate-issues-labels: label_issues:
name: Add triage label to issue
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
issues: write
steps: steps:
- name: initial labeling - uses: actions/github-script@v6
uses: andymckay/labeler@1.0.4
with: with:
add-labels: "triage" script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["triage"]
})