Skip to content

Conversation

@A77AY
Copy link
Collaborator

@A77AY A77AY commented Jul 14, 2025

No description provided.

Copilot AI review requested due to automatic review settings July 14, 2025 19:53
Copy link

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 adds flexibility to the GitHub Action by allowing users to specify which branch to compare against, rather than being hardcoded to "master". It introduces a new branch input parameter and updates the git fetch commands to use the specified branch.

  • Adds a configurable branch input parameter with "master" as the default value
  • Updates git fetch and rev-parse commands to use the dynamic branch input instead of hardcoded "master"

branch:
description: Branch name to compare with
required: false
default: "master"
Copy link

Copilot AI Jul 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider using 'main' as the default branch name instead of 'master', as 'main' has become the modern standard for default branch naming in Git repositories.

Suggested change
default: "master"
default: "main"

Copilot uses AI. Check for mistakes.
@A77AY A77AY merged commit dc69791 into master Jul 14, 2025
2 checks passed
@A77AY A77AY deleted the ft/add-branch-config branch July 14, 2025 19:54
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