Add a GitHub action to auto add/remove issues to needs triage kanban board. (#683)

Related to: kubeflow/community#278
This commit is contained in:
Jeremy Lewi 2019-11-26 13:11:20 -08:00 committed by Kubernetes Prow Robot
parent 712c29a18e
commit 341deccc34
1 changed files with 19 additions and 0 deletions

19
.github/workflows/triage_issues.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
# Define a GitHub action workflow to determine whether issues
# should be added or removed from the Needs Triage Kanban board.
name: Check Triage Status of Issue
on:
issues:
types: [opened, closed, reopened, transferred, labeled, unlabeled]
# Issue is created, Issue is closed, Issue added or removed from projects, Labels added/removed
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Update Kanban
uses: kubeflow/code-intelligence/Issue_Triage/action@master
with:
# Letting input NEEDS_TRIAGE_PROJECT_CARD_ID use the default value
ISSUE_NUMBER: ${{ github.event.issue.number }}
GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.triage_projects_github_token }}