Skip to content

Replace dsaltares/fetch-gh-release-asset with gh CLI in create-release workflow#13

Merged
spaze merged 4 commits into
mainfrom
copilot/replace-fetch-latest-phar-with-gh
May 1, 2026
Merged

Replace dsaltares/fetch-gh-release-asset with gh CLI in create-release workflow#13
spaze merged 4 commits into
mainfrom
copilot/replace-fetch-latest-phar-with-gh

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 1, 2026

  • Replace dsaltares/fetch-gh-release-asset@master action with gh CLI commands
  • Pin gh release download to the fetched --tag "$version" for consistency
  • Use multiline output delimiter format (<<delimiter) with a random delimiter for version and name outputs, and quote "$GITHUB_OUTPUT" in the redirection

Copilot AI linked an issue May 1, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Replace the 'Fetch latest phar' step with gh CLI tool Replace dsaltares/fetch-gh-release-asset with gh CLI in create-release workflow May 1, 2026
Copilot finished work on behalf of spaze May 1, 2026 20:02
Copilot AI requested a review from spaze May 1, 2026 20:02
@spaze spaze marked this pull request as ready for review May 1, 2026 20:07
Copilot AI review requested due to automatic review settings May 1, 2026 20:07
Copy link
Copy Markdown

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

Updates the release workflow to download the latest PHP_CodeSniffer phar assets using the pre-installed gh CLI instead of a third-party GitHub Action, reducing external dependencies and avoiding Node.js compatibility risk.

Changes:

  • Replaced dsaltares/fetch-gh-release-asset@master with gh release view + gh release download.
  • Preserved existing step outputs (version, name) for downstream steps.

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

Comment thread .github/workflows/create-release.yml Outdated
Comment thread .github/workflows/create-release.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Comment thread .github/workflows/create-release.yml Outdated
Copilot finished work on behalf of spaze May 1, 2026 20:19
Copilot AI requested a review from spaze May 1, 2026 20:19
Copy link
Copy Markdown

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


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

@spaze spaze merged commit bc84d6e into main May 1, 2026
22 checks passed
@spaze spaze deleted the copilot/replace-fetch-latest-phar-with-gh branch May 1, 2026 20:46
spaze pushed a commit that referenced this pull request May 2, 2026
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.

Replace the "Fetch latest phar" step with gh

3 participants