Skip to content

Commit

Permalink
Add project assigner of issues (#861)
Browse files Browse the repository at this point in the history
* Add project assigner

* Make project assigner apply to main repo
  • Loading branch information
zanmato1984 authored Jul 1, 2020
1 parent 7f58edd commit 2d0d06c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/assign_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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 Bug Tracking Kanban
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'type/bug')
with:
project: 'https://github.com/pingcap/tics/projects/11'
column_name: 'To do'
- name: Run issues assignment to New Feature Kanban
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'type/new-feature')
with:
project: 'https://github.com/pingcap/tics/projects/12'
column_name: 'To do'
- name: Run issues assignment to QA Kanban
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'type/qa')
with:
project: 'https://github.com/pingcap/tics/projects/13'
column_name: 'To do'

0 comments on commit 2d0d06c

Please sign in to comment.