From 341deccc342365be9557cffce3b6e7011bb007ab Mon Sep 17 00:00:00 2001 From: Jeremy Lewi Date: Tue, 26 Nov 2019 13:11:20 -0800 Subject: [PATCH] Add a GitHub action to auto add/remove issues to needs triage kanban board. (#683) Related to: kubeflow/community#278 --- .github/workflows/triage_issues.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/triage_issues.yaml diff --git a/.github/workflows/triage_issues.yaml b/.github/workflows/triage_issues.yaml new file mode 100644 index 00000000..5d4551ce --- /dev/null +++ b/.github/workflows/triage_issues.yaml @@ -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 }} +