Skip to content

The Open Source DocuSign Alternative.

feat: add triage issue workflow

Adithya Krishnaa43be0432bbc
diff --git a/.github/workflows/issue-opened.yml b/.github/workflows/issue-opened.yml
new file mode 100644
index 000000000..3a5b05b86
--- /dev/null
+++ b/.github/workflows/issue-opened.yml
@@ -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"]
+ })
\ No newline at end of file