diff --git a/.github/workflows/auto_add_dev_tickets_to_project.yaml b/.github/workflows/auto_add_dev_tickets_to_project.yaml new file mode 100644 index 00000000..0688f615 --- /dev/null +++ b/.github/workflows/auto_add_dev_tickets_to_project.yaml @@ -0,0 +1,19 @@ +name: Auto add dev tickets to project board + +on: + issues: + types: [opened] + +jobs: + add_to_project: + runs-on: ubuntu-latest + steps: + - name: Check labels and add to project + if: | + !contains(github.event.issue.labels.*.name, 'Requests') && + !contains(github.event.issue.labels.*.name, 'Bug Reports') + uses: actions/add-to-project@v1 + with: + project-url: https://github.com/orgs/AllenCell/projects/7 + content-id: ${{ github.event.issue.node_id }} + column-name: Backlog \ No newline at end of file diff --git a/.github/workflows/auto_add_feature_request_to_project.yaml b/.github/workflows/auto_add_feature_request_to_project.yaml new file mode 100644 index 00000000..df656b8d --- /dev/null +++ b/.github/workflows/auto_add_feature_request_to_project.yaml @@ -0,0 +1,19 @@ +name: Auto-add feature requests and bug reports to project board + +on: + issues: + types: [opened] + +jobs: + add_to_project: + runs-on: ubuntu-latest + if: | + contains(github.event.issue.labels.*.name, 'Requests') || + contains(github.event.issue.labels.*.name, 'Bug Reports') + steps: + - name: Add issue to project + uses: actions/add-to-project@v1 + with: + project-url: https://github.com/orgs/AllenCell/projects/9 + content-id: ${{ github.event.issue.node_id }} + column-name: Scoping \ No newline at end of file