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

[support-infra] Create GitHub action to force issues & PRs labeling #206

Open
2 tasks
oliviertassinari opened this issue Sep 29, 2024 · 0 comments
Open
2 tasks
Labels
new feature New feature or request scope: infra Org infrastructure work going on behind the scenes status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented Sep 29, 2024

Steps to reproduce

Having all issues & PRs with a clear scope label feels critical to be able to properly work as a team of product engineers.

How do we know if it's correctly labeled?

  • Issue scope: based on the database where we have product maintainers
  • Issue type: bug, new feature, enhancement

Examples of annoyance:

How to implement it?

  • PRs. We could have a GitHub Action that fails the PR if:
  1. No “product scope” label is applied. B1. Add product scope on GitHub pull requests is meant to help prefill these labels but when merging the PR, the label should be present.
  2. No “type” label is applied. See Pull request types 🐔. So one of “new feature”, “enhancement”, “bug”
  • Issues. What if we had a GitHub action that would:

  • Reapply the "status: waiting for maintainer" label if removed without proper other labels

  • Reopen issues when closed if they are closed without proper other labels

Monitor

To monitor the effectiveness of the policy, we could update GitHub PRs/issues without labels 📊 to not only cover when there are no labels, but also when there aren’t enough.

@oliviertassinari oliviertassinari added status: waiting for maintainer These issues haven't been looked at yet by a maintainer scope: infra Org infrastructure work going on behind the scenes new feature New feature or request labels Sep 29, 2024
@oliviertassinari oliviertassinari changed the title [infra] Create GitHub action to force issue labeling [support-infra] Create GitHub action to force issue labeling Oct 18, 2024
@oliviertassinari oliviertassinari changed the title [support-infra] Create GitHub action to force issue labeling [support-infra] Create GitHub action to force issue & PRs labeling Nov 7, 2024
@oliviertassinari oliviertassinari changed the title [support-infra] Create GitHub action to force issue & PRs labeling [support-infra] Create GitHub action to force issues & PRs labeling Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request scope: infra Org infrastructure work going on behind the scenes status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant