Commit e083aa0
[chore] add codeowner activity report workflow (open-telemetry#46015)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR adds a workflow that reports code-owners' activity. The workflow
only focuses on components that are listed for stability at
open-telemetry#44130
since that's the main priority for now. We can expand the report for all
components in contrib but that might be a bit noisy.
Similar work is done in other SIGs, i.e
open-telemetry/opentelemetry-js#5898
<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Related to
open-telemetry/opentelemetry-collector#14107
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Running locally with:
```console
export DRY_RUN=1
export GITHUB_TOKEN=ghp_foobarzet
node -e "
const { Octokit } = require('@octokit/rest');
const script = require('./.github/workflows/scripts/generate-codeowners-activity.js');
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN });
script({
github: { rest: octokit },
context: { payload: { repository: { owner: { login: 'open-telemetry' } } } }
});
"
```
<!--Describe the documentation added.-->
#### Documentation
~
<!--Please delete paragraphs that you did not use before submitting.-->
#### AI Usage disclaimer
**_The script of this PR is crafted mainly by using Cursor_** taking
inspiration from the Weekly Report workflow script:
[/.github/workflows/scripts/generate-weekly-report.js](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/d0cd8a546f274e3aadbc43cf5cb5d693633365e4/.github/workflows/scripts/generate-weekly-report.js#L4)
---------
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Co-authored-by: Andrzej Stencel <andrzej.stencel@elastic.co>1 parent 0e3f346 commit e083aa0
2 files changed
Lines changed: 468 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
0 commit comments