-
Notifications
You must be signed in to change notification settings - Fork 15
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
Create issue-metrics.yml #239
Conversation
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 is great, let's get this in and see what the results look like. One thing we should consider is whether we want:
- to run this action in all the repos we want to track with results stored in each repo
- to run this action in all the repos we want to track with results stored in the .github repo
- to run this action in the .github repo and referencing all the repos we want to track with results stored in each repo
- to run this action in the .github repo and referencing all the repos we want to track with results stored in the .github repo
uses: github/issue-metrics@v2 | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SEARCH_QUERY: 'repo:10up/insert-special-characters is:issue created:${{ env.last_month }} -reason:"not planned"' |
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.
I'm not sure if this needs the -reason:"not planned"
flag, but we can run this and see what happens.
Leaving the https://github.com/github/issue-metrics/blob/main/docs/example-workflows.md#multiple-repositories-example reference here in case we want to consider options 3 or 4 above |
Seeing that the two test runs I did here: #241, #242. If we keep these metrics within the individual repos (and not in the .github repo), then it would be awesome if the action would add the monthly metrics as a comment on an existing issue (perhaps as a variable in the workflow file so that we could link directly to a 2024/2025/etc metrics issue) and then pin that issue in the repo. It would be helpful to give this a try in the .github repo pulling in 2-3 OSP repos to see how it looks there, curious if that data goes into a single issue or not and how well it delineates the names of the repos in that content. |
Yea, if we can able to achieve that scenario then I think that would be great. From reading the instructions on the repo page I think it'll only create a new issue every time it runs (for the time frame we set).
We can try this and see how that works out. |
Description of the Change
This PR adds a GitHub Action to pull monthly metrics such as "Time to response","Time to close","Time in label" etc. into a new GitHub issue. Reference: https://github.com/github/issue-metrics.
Closes #
How to test the Change
Changelog Entry
Credits
Checklist: