|
|
@@ -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@v1.0.2
|
|
|
+ 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
|