build: Auto assign issue to project SIG Runtime Kanban/SIG Planner Kanban (#15180)

This commit is contained in:
Feng Liyuan
2020-03-06 19:48:45 +08:00
committed by GitHub
parent 21f507abce
commit 14d9cb2920

23
.github/workflows/assign_project.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Auto Assign Project Local
on: [issues]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to One Project
steps:
- name: Run assignment to project SIG Runtime Kanban
uses: SunRunAway/assign-one-project-github-action@1.1.6
if: github.event.action == 'labeled' && (contains(github.event.issue.labels.*.name, 'component/executor') || contains(github.event.issue.labels.*.name, 'component/expression'))
with:
project: 'https://github.com/pingcap/tidb/projects/38'
column_name: 'Need Triage'
- name: Run assignment to project SIG Planner Kanban
uses: SunRunAway/assign-one-project-github-action@1.1.6
if: github.event.action == 'labeled' && (contains(github.event.issue.labels.*.name, 'component/planner') || contains(github.event.issue.labels.*.name, 'component/statistics'))
with:
project: 'https://github.com/pingcap/tidb/projects/39'
column_name: 'Need Triage'