community icon indicating copy to clipboard operation
community copied to clipboard

Automation for GitHub Project Boards

Open ehashman opened this issue 4 years ago • 24 comments

I currently run the Node Triage Board. We manually update it based on these guidelines.

The only automation available that works consistently is moving things to Done when closed or merged.

It would be great to have the support of automation to do the following tasks:

  • Add cards to the Triage column automatically based on the search we use in the "Add Cards" query
  • With maximum priority: All cards with any "do-not-merge/*" labels should be moved to the Waiting on Author column
  • With next priority: All cards without [lgtm, needs-priority, needs-triage] should get moved to Needs Reviewer column
  • With next priority: All cards without [needs-priority, needs-triage] and with lgtm should get moved to the Needs Approver column
  • Move any reopened (previously closed) PRs back to the Triage column (this might already be possible)
  • Move any PRs with "Changes Requested" reviews to the Waiting on Author column (might also be possible?)
  • If a card was manually moved to a column, do not automatically move it without a label change occurring first (i.e. I don't want to fight automation when it's wrong)

/area github-management /cc @mrbobbytables

ehashman avatar Feb 19 '21 20:02 ehashman

/sig contributor-experience /assign @mrbobbytables

mrbobbytables avatar Feb 19 '21 20:02 mrbobbytables

Referencing the k/test-infra issue from back in the day: https://github.com/kubernetes/test-infra/issues/9925

justaugustus avatar Feb 22 '21 16:02 justaugustus

Just to update, the feedback has been passed onto GitHub 👍

mrbobbytables avatar Feb 28 '21 19:02 mrbobbytables

+1 to this. Having some automation (add card, move card, remove card) based on configurable labels & issue/PR status would really help to start using project boards

fabriziopandini avatar Mar 18 '21 16:03 fabriziopandini

+1. Brought up this issue yesterday during SIG Auth's first triage session.

lasomethingsomething avatar Apr 17 '21 09:04 lasomethingsomething

Can we use something like https://github.com/apps/project-bot in the interim?

enj avatar Apr 17 '21 13:04 enj

One additional ask: it would be an enormous improvement for columns to automatically sort by last updated (most recent at top, least recent at bottom for example). Right now, I have to look at every single issue in a column manually to see if it's been updated, about once a week.

ehashman avatar Jun 23 '21 17:06 ehashman

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Sep 21 '21 17:09 k8s-triage-robot

/remove-lifecycle stale

This is still (painfully) relevant.

ehashman avatar Sep 21 '21 18:09 ehashman

Can we use something like https://github.com/apps/project-bot in the interim?

Sorry just saw this, it's no longer being maintained and doesn't work quite right these days :(

mrbobbytables avatar Sep 21 '21 19:09 mrbobbytables

https://github.com/googleapis/repo-automation-bots could we use something like this, perhaps ? :eyes:

wgahnagl avatar Sep 27 '21 20:09 wgahnagl

We can use https://github.com/alex-page/github-project-automation-plus and modify it according to our requirements.

sandipanpanda avatar Nov 15 '21 19:11 sandipanpanda

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Feb 13 '22 20:02 k8s-triage-robot

/remove-lifecycle stale

ehashman avatar Feb 14 '22 23:02 ehashman

We can use https://github.com/alex-page/github-project-automation-plus and modify it according to our requirements.

There's quite a bit of modification required. In particular, we'd need to set up GH actions on any affected repos such as k/k and it doesn't support filtering by label.

ehashman avatar Feb 14 '22 23:02 ehashman

/cc @hh

hh avatar Apr 14 '22 00:04 hh

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 13 '22 01:07 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Aug 12 '22 02:08 k8s-triage-robot

Revisit the issue, do we have any progress on this or we do have some standard configurations for project board. For sig scheduling, we recently create a new board for tracing, but not smooth enough. It's actually a hand-actuated. https://github.com/orgs/kubernetes/projects/79/views/1

/remove-lifecycle rotten

kerthcet avatar Sep 02 '22 03:09 kerthcet

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Dec 01 '22 04:12 k8s-triage-robot

/remove-lifecycle stale Any updates on this?

kerthcet avatar Dec 01 '22 05:12 kerthcet

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Mar 01 '23 06:03 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Mar 31 '23 07:03 k8s-triage-robot

/lifecycle frozen

sandipanpanda avatar Apr 04 '23 06:04 sandipanpanda