Skip to content

Conversation

aaronsteers
Copy link
Owner

No description provided.

@Copilot Copilot AI review requested due to automatic review settings August 17, 2025 22:55
Copy link

@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 enhances PR variable resolution by adding an optional pr input parameter and switching from GitHub CLI to GitHub API for more comprehensive PR data retrieval. The changes improve flexibility and data completeness when working with PR-related variables.

  • Added optional pr input parameter to allow explicit PR specification, overriding auto-detection
  • Switched from gh pr view to gh api for retrieving complete PR data including source/target details
  • Added comprehensive PR-related variables including draft status, SHA values, and separate source/target variable sets

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
action.yml Added pr input parameter and enhanced PR data fetching with GitHub API to populate comprehensive PR variables
.github/workflows/test-action.yml Added workflow dispatch input for PR testing and configured action to use the new pr parameter

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@aaronsteers aaronsteers merged commit 2d7fa4f into main Aug 17, 2025
2 checks passed
@aaronsteers aaronsteers deleted the fix-pr-detection-bug branch August 17, 2025 23:18
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.

1 participant