Sfoglia il codice sorgente

feat(issues): add to project for bug needs-triage

Signed-off-by: Sjoerd-Bo3 <sjoerd.bozon@gmail.com>
Sjoerd-Bo3 1 anno fa
parent
commit
f7b39cb81d
1 ha cambiato i file con 20 aggiunte e 0 eliminazioni
  1. 20 0
      .github/workflows/add_to_project.yml

+ 20 - 0
.github/workflows/add_to_project.yml

@@ -0,0 +1,20 @@
+name: Add bugs to bugs project
+
+on:
+  issues:
+    types:
+      - opened
+
+jobs:
+  add-to-project:
+    name: Add issue to project
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/add-to-project@RELEASE_VERSION
+        with:
+          # You can target a project in a different organization
+          # to the issue
+          project-url: https://github.com/orgs/nightscout/projects/2
+          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
+          labeled: bug, needs-triage
+          label-operator: OR