Skip to content

testapi

testapi #1

name: Auto Assign Project Local
on:
issues:
types: [labeled]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to One Project
steps:
- name: Run issues assignment to project SIG Runtime Kanban
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'component/coprocessor') ||
contains(github.event.issue.labels.*.name, 'sig/executor') ||
contains(github.event.issue.labels.*.name, 'component/expression')
with:
project: 'https://github.com/pingcap/tidb/projects/38'
column_name: 'Issue Backlog: Need Triage'
- name: Run issues assignment to project SIG Planner Kanban
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'sig/planner') ||
contains(github.event.issue.labels.*.name, 'component/statistics') ||
contains(github.event.issue.labels.*.name, 'component/bindinfo')
with:
project: 'https://github.com/pingcap/tidb/projects/39'
column_name: 'Issue Backlog: Need Triage'
- name: Run issues assignment to Feature Request Kanban
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'type/feature-request')
with:
project: 'https://github.com/pingcap/tidb/projects/41'
column_name: 'Need Triage'
- name: Run issues assignment to Robust test
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'component/test')
with:
project: 'https://github.com/pingcap/tidb/projects/32'
column_name: 'TODO/Help Wanted'
- name: Run issues assignment to project UT Coverage
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'type/UT-coverage')
with:
project: 'https://github.com/pingcap/tidb/projects/44'
column_name: 'To do'
- name: Run issues assignment to project SIG DDL Kanban
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'sig/infra') ||
contains(github.event.issue.labels.*.name, 'component/binlog') ||
contains(github.event.issue.labels.*.name, 'component/charset') ||
contains(github.event.issue.labels.*.name, 'component/infoschema') ||
contains(github.event.issue.labels.*.name, 'component/parser')
with:
project: 'https://github.com/pingcap/tidb/projects/40'
column_name: 'Issue Backlog: Need Triage'