Skip to content

feat: add checkout-repository input for action - #120

Merged
andrewb1269 merged 1 commit into
mainfrom
119-checkout-repository-input
Oct 15, 2026
Merged

andrewb1269 merged 1 commit into
mainfrom
119-checkout-repository-input

Conversation

@andrewb1269

Copy link
Copy Markdown
Contributor

Description:

Add the ability to checkout a target repo

Related Issue(s):

Implements #119

**Description**:

Add the ability to checkout a target repo

**Related Issue(s)**:

Implements #119

Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
@andrewb1269 andrewb1269 self-assigned this Oct 15, 2026
Copilot AI balanced review requested due to automatic review settings October 15, 2026 18:40
@andrewb1269 andrewb1269 added enhancement Enhancement or request for existing feature github_actions Changes to github actions labels Oct 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused changes preserve existing behavior and support cross-repository checkout using the existing ref and token inputs.

0 open findings

What changed in this PR

Adds cross-repository checkout support to the initialization action, addressing issue #119 while preserving the current repository as the default.

Changes:

  • Adds optional checkout-repository input and forwards it to actions/checkout.
  • Documents private-repository authentication and a cross-repository checkout example.
File Description
README.md Documents the input and private-repository usage.
action.yml Defines and forwards the backward-compatible repository input.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@andrewb1269 andrewb1269 linked an issue Oct 15, 2026 that may be closed by this pull request
5 tasks done
@andrewb1269
andrewb1269 merged commit 9f8ff7c into main Oct 15, 2026
26 checks passed
@andrewb1269
andrewb1269 deleted the 119-checkout-repository-input branch October 15, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement or request for existing feature github_actions Changes to github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a checkout-repository input to support checking out other repositories

3 participants