Skip to content

Conversation

isra-fel
Copy link
Member

@isra-fel isra-fel commented Oct 1, 2025

Description

Add a new workflow to calculate and report monthly issue metrics for the repository.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

This workflow calculates and reports monthly issue metrics for the repository.
@Copilot Copilot AI review requested due to automatic review settings October 1, 2025 06:11
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

@Copilot Copilot AI left a 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

Comment on lines +4 to +5
# schedule:
# - cron: "3 2 1 * *"
Copy link
Preview

Copilot AI Oct 1, 2025

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.

Suggested change
# schedule:
# - cron: "3 2 1 * *"
schedule:
- cron: "3 2 1 * *"

Copilot uses AI. Check for mistakes.

Copy link
Member Author

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.
@isra-fel isra-fel enabled auto-merge (squash) October 1, 2025 06:15
@isra-fel isra-fel merged commit 4b28e88 into main Oct 1, 2025
12 checks passed
@isra-fel isra-fel deleted the isra-fel/issue-matrics branch October 2, 2025 01:47
hiaga pushed a commit to MabOneSdk/azure-powershell that referenced this pull request Oct 3, 2025
hiaga added a commit to MabOneSdk/azure-powershell that referenced this pull request Oct 3, 2025
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.

2 participants