diff options
author | 2021-09-01 09:53:42 -0700 | |
---|---|---|
committer | 2021-09-01 09:53:42 -0700 | |
commit | 53ffefcf4396f248f74e617137ec84fd5ba0f0e0 (patch) | |
tree | ce1e0e24536e33c4253ff480b414f1660f5fa8a6 | |
parent | f6141d3a4c07359f464fdc893741104c1407e7f6 (diff) | |
download | astro-53ffefcf4396f248f74e617137ec84fd5ba0f0e0.tar.gz astro-53ffefcf4396f248f74e617137ec84fd5ba0f0e0.tar.zst astro-53ffefcf4396f248f74e617137ec84fd5ba0f0e0.zip |
add project assigner CI bot (#1291)
-rw-r--r-- | .github/workflows/issue.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml new file mode 100644 index 000000000..aca28456a --- /dev/null +++ b/.github/workflows/issue.yml @@ -0,0 +1,36 @@ +name: Auto Assign to Project(s) + +on: + issues: + types: [opened] + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + auto_assign_issues: + runs-on: ubuntu-latest + name: Auto-assign new issues to projects + steps: + - run: echo "${{github.event.issue.title}}" + + - name: Assign Bugs to the Bug Tracker + uses: srggrs/assign-one-project-github-action@1.2.1 + if: github.event.action == 'opened' && startsWith(github.event.issue.title, '🐛 BUG:') + with: + project: 'https://github.com/srggrs/assign-one-project-github-action/projects/2' + column_name: 'Needs Triage' + + - name: Assign RFCs to the RFC Tracker + uses: srggrs/assign-one-project-github-action@1.2.1 + if: github.event.action == 'opened' && startsWith(github.event.issue.title, '💡 RFC:') + with: + project: 'https://github.com/srggrs/assign-one-project-github-action/projects/3' + column_name: 'Needs Discussion' + + - name: Assign RFCs to the RFC Tracker + uses: srggrs/assign-one-project-github-action@1.2.1 + if: github.event.action == 'opened' && startsWith(github.event.issue.title, '📘 DOC:') + with: + project: 'https://github.com/srggrs/assign-one-project-github-action/projects/5' + column_name: 'TODO
\ No newline at end of file |