-
Notifications
You must be signed in to change notification settings - Fork 35
Move to projectbot for automatic labelling of issues and PRs #671
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
Closed
Closed
Changes from 2 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# Project Bot Configuration for APM AWS Lambda Extension | ||
# This configuration automates project management for issues and pull requests | ||
|
||
# Define project configuration | ||
project: | ||
# Target project URL | ||
url: "https://github.com/orgs/elastic/projects/1511" | ||
|
||
# Rules for automatically managing issues and pull requests | ||
rules: | ||
# Rule for new issues | ||
- name: "New Issues" | ||
condition: | ||
- type: "issue" | ||
action: "opened" | ||
actions: | ||
- type: "add_to_project" | ||
column: "To Do" | ||
|
||
# Rule for new internal pull requests | ||
- name: "New Internal PRs" | ||
condition: | ||
- type: "pull_request" | ||
action: "opened" | ||
author_association: ["MEMBER", "COLLABORATOR", "OWNER"] | ||
actions: | ||
- type: "add_to_project" | ||
column: "In Progress" | ||
|
||
# Rule for new community pull requests | ||
- name: "New Community PRs" | ||
condition: | ||
- type: "pull_request" | ||
action: "opened" | ||
author_association: ["FIRST_TIME_CONTRIBUTOR", "CONTRIBUTOR", "NONE"] | ||
actions: | ||
- type: "add_to_project" | ||
column: "Community Review" | ||
|
||
# Rule for when PRs are ready for review | ||
- name: "Ready for Review" | ||
condition: | ||
- type: "pull_request" | ||
action: "ready_for_review" | ||
actions: | ||
- type: "move_to_column" | ||
column: "Review" | ||
|
||
# Rule for when PRs are converted to draft | ||
- name: "Draft PRs" | ||
condition: | ||
- type: "pull_request" | ||
action: "converted_to_draft" | ||
actions: | ||
- type: "move_to_column" | ||
column: "In Progress" | ||
|
||
# Rule for closed issues and PRs | ||
- name: "Completed Items" | ||
condition: | ||
- type: "issue" | ||
action: "closed" | ||
- type: "pull_request" | ||
action: "closed" | ||
merged: true | ||
actions: | ||
- type: "move_to_column" | ||
column: "Done" | ||
|
||
# Rule for items with specific labels | ||
- name: "Bug Issues" | ||
condition: | ||
- type: "issue" | ||
labels: ["bug"] | ||
actions: | ||
- type: "add_to_project" | ||
column: "Bug Triage" | ||
|
||
- name: "Enhancement Requests" | ||
condition: | ||
- type: "issue" | ||
labels: ["enhancement", "feature-request"] | ||
actions: | ||
- type: "add_to_project" | ||
column: "Backlog" | ||
|
||
# Columns that should exist in the project | ||
columns: | ||
- "To Do" | ||
- "In Progress" | ||
- "Review" | ||
- "Community Review" | ||
- "Bug Triage" | ||
- "Backlog" | ||
- "Done" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project has not been updated for the last 6 years:
I'd say we should not use it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. Not sure what i looked at, but remember changes in the last weeks. My fault.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still looking for precedence, to not having to reinvent the wheel. Any suggestions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some other teams use:
However, It's being a while since I have looked at the state, I know for the
labeler
Sylvain has been recently improving itThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the github/issue-labeler now.