-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add project assigner of issues (#861)
* Add project assigner * Make project assigner apply to main repo
- Loading branch information
1 parent
7f58edd
commit 2d0d06c
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |