Skip to content

Comments

fix: Add tags support#7

Merged
ZPascal merged 2 commits intomainfrom
add-tags-support
Jan 15, 2026
Merged

fix: Add tags support#7
ZPascal merged 2 commits intomainfrom
add-tags-support

Conversation

@ZPascal
Copy link
Owner

@ZPascal ZPascal commented Jan 15, 2026

  • Add tags support

@ZPascal ZPascal self-assigned this Jan 15, 2026
@ZPascal ZPascal requested a review from Copilot January 15, 2026 13:46
@ZPascal ZPascal enabled auto-merge (squash) January 15, 2026 13:48
@ZPascal ZPascal disabled auto-merge January 15, 2026 13:48
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 support for tags when downloading the Python script from the GitHub repository. Previously, the action only referenced branches (via refs/heads/$ACTION_REF), which caused failures when the action was used with a tag reference (e.g., @v1).

Changes:

  • Added ACTION_SHA environment variable to capture the commit SHA
  • Implemented logic to determine the correct ref path (tags, commit SHA, or main branch)
  • Updated the curl command to use the dynamically determined ref path

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ZPascal ZPascal merged commit 7a5f991 into main Jan 15, 2026
3 checks passed
@ZPascal ZPascal deleted the add-tags-support branch January 15, 2026 15:41
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