Replace third-party actions with gh CLI for releases and PRs#551
Merged
Conversation
Replace the softprops/action-gh-release action with a direct gh release create command for creating GitHub releases. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…quest Replace the peter-evans/create-pull-request action with git commands and gh pr create for creating the dependency update pull request. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes dependencies on third-party GitHub Actions for creating releases and dependency update PRs by switching to direct gh CLI invocations within the existing workflows.
Changes:
- Replace
peter-evans/create-pull-request@v7withgit+gh pr createin the dependency update workflow. - Replace
softprops/action-gh-release@v2withgh release createin the release workflow.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/update-dependencies.yml | Swaps PR creation from a third-party action to explicit git commit/push and gh pr create. |
| .github/workflows/release.yml | Swaps release publishing from a third-party action to gh release create with notes and uploaded artifacts. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 3
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Pass the PR title through an environment variable instead of interpolating it directly into shell commands to prevent potential command substitution if the title contains shell metacharacters. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move the app token generation before the checkout step and pass it via the token input so that git push authenticates with the app identity rather than the default GITHUB_TOKEN. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
sergiou87
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace
softprops/action-gh-releaseandpeter-evans/create-pull-requestactions with directghCLI commands.Changes
gh release createinstead ofsoftprops/action-gh-release@v2git+gh pr createinstead ofpeter-evans/create-pull-request@v7This reduces our dependency on third-party actions for core workflow operations.