mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
feat: add triage issue workflow
Signed-off-by: Adithya Krishna <adi@documenso.com>
This commit is contained in:
24
.github/workflows/issue-opened.yml
vendored
Normal file
24
.github/workflows/issue-opened.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: "Label Issues"
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- reopened
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
label_issues:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'documenso/documenso'
|
||||
permissions:
|
||||
issues: write
|
||||
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: ["needs triage"]
|
||||
})
|
||||
Reference in New Issue
Block a user