Skip to content

Conversation

Songmu
Copy link
Owner

@Songmu Songmu commented May 15, 2025

minor fix following #201

@Songmu Songmu merged commit 0e570b7 into main May 15, 2025
3 checks passed
@Songmu Songmu deleted the fix-actionyaml branch May 15, 2025 06:07
@@ -25,7 +25,7 @@ runs:
cd "${GITHUB_WORKSPACE}" || exit 1
TEMP_PATH="$(mktemp -d)"
PATH="${TEMP_PATH}:$PATH"
curl -sfL https://raw.githubusercontent.com/Songmu/tagpr/v1.5.2/install.sh | sh -s -- -b "$TEMP_PATH" "${{ inputs.version }}" 2>&1
curl -sfL "https://raw.githubusercontent.com/Songmu/tagpr/${{ inputs.version }}/install.sh" | sh -s -- -b "$TEMP_PATH" "${{ inputs.version }}" 2>&1
Copy link

@kenchan0130 kenchan0130 May 15, 2025

Choose a reason for hiding this comment

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

This is incorrect for the behavior to be dictated by ${{ inputs.version }}, as this refers to the version of the tagpr binary, which can be arbitrarily set by the end user.

In GitHub Actions, users expect that the specified version of the action itself is what gets executed.

Therefore, the version of the action and the version of the installer should be expected to match.

Choose a reason for hiding this comment

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

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