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

Adds additions / deletions to each PR message #38

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adamnfish
Copy link
Contributor

This is just a proposal for now, needs to be tested etc.

Examples:

security-hq#1167 - chore(deps): AWS dependency updates - (opened 3 days ago)

🤖 gu-scala-steward-public-repos[bot] [+1/-1]
service-catalogue#1307 - send a configurable number of repos to the dependency graph integrator - (opened 4 days ago)

👤 NovemberTang [+48/-38]

What does this change?

Shows the size of each PR, by including the number of affected lines via additions and deletions.

The API docs tell us this data is available, it might help teams to prioritise their work approving PRs.

How to test

We'll need to actually run this locally to verify that this data is available, btu for now I just wanted to start a discussion.

How can we measure success?

Making usre this works, then deciding if this is helpful to teams.

The [API
docs](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28)
tell us this data is available, it might help teams to prioritise
their work approving PRs.

This is just a proposal for now, needs to be tested etc.

Examples:

```
security-hq#1167 - chore(deps): AWS dependency updates - (opened 3 days ago)

🤖 gu-scala-steward-public-repos[bot] [+1/-1]
```

```
service-catalogue#1307 - send a configurable number of repos to the dependency graph integrator - (opened 4 days ago)

👤 NovemberTang [+48/-38]
```
@adamnfish adamnfish marked this pull request as draft October 28, 2024 13:38
src/main.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants