GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — code-intelligence/Issue_Triage/action at master · kubeflow/code-intelligence

This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Expand file tree

/

action

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

action

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
action.yml
action.yml
 
 

README.md

Outline

Triage Issues For Kubeflow

A GitHub Action that automatically adds/removes issues from the Project Needs Triage

  • Kubeflow's triage criterion are defined in issue_triage.md

    • This doc provides more information about Kubeflow's process for triaging issues
  • The code for actually triaging issues is in triage.py

Discussion

  • Notebook exploring ways to programatically triage issues.
  • Issue describing requirements for automatic triage.

Usage

Example Workflow

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:
          NEEDS_TRIAGE_PROJECT_CARD_ID: 'MDEzOlByb2plY3RDb2x1bW41OTM0MzEz'
          ISSUE_NUMBER: ${{ github.event.issue.number }}
          GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.triage_projects_github_token }}

Mandatory Inputs

  1. NEEDS_TRIAGE_PROJECT_CARD_ID: The Project Card ID that you want to move issues to. Defaults to MDEzOlByb2plY3RDb2x1bW41OTM0MzEz
  2. ISSUE_NUMBER: The issue number in the current repo that you want to triage
  3. GITHUB_PERSONAL_ACCESS_TOKEN: A personal access token with authorization to modify the project board.

Installing the action on a repository

  1. Create a workflow like the one above in your repository in the directory

    .github/workflows/<your_file_name>.yaml
    
  2. Create a secret for the repository called triage_projects_github_token which has a GitHub personal access token with the following permissions

    • admin:org read & write

      • Needed to modify projects
    • repo:public_repo

      • needed to see issues
  3. Kubeflow repositories should use the personal access token issue-triage for the kubeflow-bot GitHub account

    • The access token is currently stored in Google's internal key management system
    • The google team has access and can add the key to repositories as necessary
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.