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

workflows: automatically label ecosystems issues and PRs #2254

Merged
merged 6 commits into from
Oct 11, 2023

Conversation

katiehockman
Copy link
Contributor

What does this PR do?

Adds a workflow to detect "contrib" in the title of an issue or a PR, and automatically add the apm:ecosystem label if present.

Motivation

We've been doing this manually for some time, and it'd be nice to have this happen automatically.

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.

For Datadog employees:

  • If this PR touches code that handles credentials of any kind, such as Datadog API keys, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

@katiehockman katiehockman requested a review from a team as a code owner October 6, 2023 20:03
@katiehockman katiehockman requested a review from a team October 6, 2023 20:03
@pr-commenter
Copy link

pr-commenter bot commented Oct 6, 2023

Benchmarks

Benchmark execution time: 2023-10-11 13:29:45

Comparing candidate commit 96e6570 in PR branch katie.hockman/label-ecosystems with baseline commit ef73efb in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 40 metrics, 1 unstable metrics.

Copy link
Member

@felixge felixge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (haven't tested, but skimmed the diff)

@katiehockman katiehockman enabled auto-merge (squash) October 11, 2023 13:07
@katiehockman katiehockman merged commit 7895436 into main Oct 11, 2023
50 of 52 checks passed
@katiehockman katiehockman deleted the katie.hockman/label-ecosystems branch October 11, 2023 16:56
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.

None yet

3 participants