From 16876a6adf109cae8af13d5937f0c40ab04ccf05 Mon Sep 17 00:00:00 2001 From: Jeremy Lewi Date: Tue, 3 Dec 2019 09:22:58 -0800 Subject: [PATCH] Add a GitHub action to auto-add/remove issues to needs triage project board (#111) 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 }} +