Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation for GitHub Project Boards #5535

Open
ehashman opened this issue Feb 19, 2021 · 24 comments
Open

Automation for GitHub Project Boards #5535

ehashman opened this issue Feb 19, 2021 · 24 comments
Assignees
Labels
area/github-management Issues or PRs related to GitHub Management subproject lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.

Comments

@ehashman
Copy link
Member

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

@k8s-ci-robot k8s-ci-robot added area/github-management Issues or PRs related to GitHub Management subproject needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Feb 19, 2021
@mrbobbytables
Copy link
Member

/sig contributor-experience
/assign @mrbobbytables

@k8s-ci-robot k8s-ci-robot added sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Feb 19, 2021
@justaugustus
Copy link
Member

Referencing the k/test-infra issue from back in the day: kubernetes/test-infra#9925

@mrbobbytables
Copy link
Member

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

@fabriziopandini
Copy link
Member

+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

@lasomethingsomething
Copy link
Contributor

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

@enj
Copy link
Member

enj commented Apr 17, 2021

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

@ehashman
Copy link
Member Author

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.

@k8s-triage-robot
Copy link

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-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 21, 2021
@ehashman
Copy link
Member Author

/remove-lifecycle stale

This is still (painfully) relevant.

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 21, 2021
@mrbobbytables
Copy link
Member

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 :(

@wgahnagl
Copy link

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

@sandipanpanda
Copy link
Member

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

@k8s-triage-robot
Copy link

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-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 13, 2022
@ehashman
Copy link
Member Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 14, 2022
@ehashman
Copy link
Member Author

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.

@hh
Copy link
Member

hh commented Apr 14, 2022

/cc @hh

@k8s-triage-robot
Copy link

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-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 13, 2022
@k8s-triage-robot
Copy link

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-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Aug 12, 2022
@kerthcet
Copy link
Member

kerthcet commented Sep 2, 2022

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

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Sep 2, 2022
@k8s-triage-robot
Copy link

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-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 1, 2022
@kerthcet
Copy link
Member

kerthcet commented Dec 1, 2022

/remove-lifecycle stale
Any updates on this?

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 1, 2022
@k8s-triage-robot
Copy link

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-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 1, 2023
@k8s-triage-robot
Copy link

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-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 31, 2023
@sandipanpanda
Copy link
Member

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/github-management Issues or PRs related to GitHub Management subproject lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.
Projects
Status: No status
Development

No branches or pull requests