-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Add monthly issue metrics workflow #28629
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
Conversation
This workflow calculates and reports monthly issue metrics for the repository.
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
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.
Pull Request Overview
This PR introduces a GitHub Actions workflow to automatically calculate and report monthly metrics for pull requests in the Azure PowerShell repository. The workflow is designed to run monthly and create an issue with metrics data.
- Adds a new monthly scheduled workflow for collecting PR metrics
- Implements date calculation logic for the previous month's range
- Integrates with GitHub's issue-metrics action to generate reports
# schedule: | ||
# - cron: "3 2 1 * *" |
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.
The scheduled execution is commented out, which means the workflow will only run manually via workflow_dispatch. Consider uncommenting the schedule if automated monthly reporting is desired, or add a comment explaining why it's disabled.
# schedule: | |
# - cron: "3 2 1 * *" | |
schedule: | |
- cron: "3 2 1 * *" |
Copilot uses AI. Check for mistakes.
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.
not yet to run monthly yet
Updated the search query to exclude draft PRs and added draft PR tracking.
This reverts commit 4b28e88.
Description
Add a new workflow to calculate and report monthly issue metrics for the repository.
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.