add GitHub action to automatically label PRs based on file paths#2212
Conversation
0a3c10f to
e6e3d5f
Compare
e863f56 to
5f78cd0
Compare
This comment has been minimized.
This comment has been minimized.
08e569a to
ff22221
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| - uses: actions/labeler@v2 | ||
| with: | ||
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
| sync-labels: true |
There was a problem hiding this comment.
Will this mean labels we add manually would be removed, e.g. if it's not quite right? (I'm guessing it won't always be)
There was a problem hiding this comment.
The docs say "Whether or not to remove labels when matching files are reverted or no longer changed by the PR."
Not clear if it removes tags added manually, or only removes tags that were added previously by the action. i.e. does it look at new commits looking for reverted changes? 🤷🏽
Co-authored-by: Andrew Lock <[email protected]>
This comment has been minimized.
This comment has been minimized.
|
Note: the checks are all failed or pending because I canceled the build. The changes in this PR do no affect the code of the build pipelines at all so no point in running them. |
Co-authored-by: Zach Montoya <[email protected]>
Code Coverage Report 📊✔️ Merging #2212 into master will not change line coverage
View the full report for further details: Datadog.Trace Breakdown ✔️
The following classes have significant coverage changes.
View the full reports for further details: |
Benchmarks Report 🐌Benchmarks for #2212 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Unknown 🤷 Same allocations ✔️Raw results
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.RedisBenchmark - Slower
|
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.RedisBenchmark.SendReceive‑net472 | 1.163 | 2,159.99 | 2,513.03 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendReceive |
net472 | 2.15μs | 10.4ns | 44.1ns | 0.154 | 0 | 0 | 987 B |
| master | SendReceive |
netcoreapp3.1 | 1.98μs | 9.83ns | 41.7ns | 0.0137 | 0 | 0 | 984 B |
| #2212 | SendReceive |
net472 | 2.6μs | 18.6ns | 180ns | 0.154 | 0 | 0 | 987 B |
| #2212 | SendReceive |
netcoreapp3.1 | 2.08μs | 10.6ns | 51.9ns | 0.0141 | 0 | 0 | 984 B |
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net472 | 6.88μs | 34.9ns | 160ns | 0.284 | 0 | 0 | 1.83 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.31μs | 23.2ns | 127ns | 0.0185 | 0 | 0 | 1.45 KB |
| #2212 | EnrichedLog |
net472 | 6.91μs | 32.9ns | 136ns | 0.285 | 0 | 0 | 1.83 KB |
| #2212 | EnrichedLog |
netcoreapp3.1 | 5.45μs | 31.2ns | 227ns | 0.0205 | 0 | 0 | 1.45 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #2212
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472
1.191
1,115.63
936.93
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472 | 1.191 | 1,115.63 | 936.93 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net472 | 1.11μs | 4.38ns | 16.9ns | 0.0677 | 0 | 0 | 433 B |
| master | StartFinishSpan |
netcoreapp3.1 | 913ns | 4.62ns | 26.5ns | 0.00576 | 0 | 0 | 432 B |
| master | StartFinishScope |
net472 | 1.12μs | 4.55ns | 17.6ns | 0.0804 | 0 | 0 | 514 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.03μs | 4.13ns | 16.5ns | 0.00767 | 0 | 0 | 552 B |
| #2212 | StartFinishSpan |
net472 | 945ns | 5.2ns | 33.3ns | 0.0681 | 0 | 0 | 433 B |
| #2212 | StartFinishSpan |
netcoreapp3.1 | 898ns | 2.84ns | 11ns | 0.00614 | 0 | 0 | 432 B |
| #2212 | StartFinishScope |
net472 | 1.13μs | 5.32ns | 20.6ns | 0.0807 | 0 | 0 | 514 B |
| #2212 | StartFinishScope |
netcoreapp3.1 | 1.03μs | 4.99ns | 20.6ns | 0.00758 | 0 | 0 | 552 B |
https://github.com/actions/labeler#pull-request-labeler