Release/v0.4.1#33
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR bumps the project version from v0.4.0 to v0.4.1 and refactors the GitHub Actions workflow to use the GitHub CLI (gh) for release management instead of deprecated GitHub Actions.
- Version bumped from 0.4.0 to 0.4.1 across all configuration files
- GitHub Actions workflow modernized to use
ghCLI commands for release creation and asset uploads - Replaced deprecated
softprops/action-gh-releaseandactions/upload-release-assetwithghCLI equivalents
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/content/_index.md | Updated version badges from v0.4.0 to v0.4.1 |
| README.md | Updated version badges from v0.4.0 to v0.4.1 |
| Dockerfile | Updated VERSION ARG from 0.4.0 to 0.4.1 |
| Cargo.toml | Updated workspace package version from 0.4.0 to 0.4.1 |
| .github/workflows/publish.yaml | Refactored release workflow to use gh CLI; renamed job from release to finalize_release; removed deprecated GitHub Actions |
Comments suppressed due to low confidence (1)
.github/workflows/publish.yaml:10
- The
setupjob usesghCLI commands that require write permissions to create releases, but nopermissionsblock is defined. Add apermissionsblock withcontents: writeto ensure the job has sufficient permissions to create and manage releases.
setup:
runs-on: ubuntu-latest
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| run: | | ||
| gh release create v${{ steps.vars.outputs.tag }} \ | ||
| --draft \ | ||
| --repo $GITHUB_REPOSITORY \ | ||
| --title "Release v${{ steps.vars.outputs.tag }}" \ | ||
| --generate-notes |
There was a problem hiding this comment.
The gh release create command requires authentication but no env section with GH_TOKEN or GITHUB_TOKEN is defined. Add an env section with GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} to ensure the command can authenticate properly, similar to the finalize_release job at line 205.
| cp -r README.md LICENSE assets dist/$DIST/$DIR | ||
| cp target/${{ matrix.target }}/release/${{ matrix.artifact_name }}-cli dist/$DIST/$DIR/${{ matrix.artifact_name }} | ||
| tar cvfz dist/${{ matrix.asset_name }}.tar.gz -C dist/$DIST $DIR | ||
| gh release upload v${{ needs.setup.outputs.tag }} dist/${{ matrix.asset_name }}.tar.gz --repo $GITHUB_REPOSITORY |
There was a problem hiding this comment.
The gh release upload command requires authentication but no environment variable is set in this step. Add env with GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} to the step or to the job level to ensure proper authentication.
| publish: | ||
| runs-on: ${{ matrix.os }} |
There was a problem hiding this comment.
The publish job uses gh release upload command at line 138 which requires write permissions, but no permissions block is defined. Add a permissions block with contents: write to ensure the job can upload release assets.
| release: | ||
| finalize_release: | ||
| needs: publish | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
The finalize_release job uses gh release edit command at line 204 which requires write permissions, but no permissions block is defined. Add a permissions block with contents: write to ensure the job can modify releases.
| runs-on: ubuntu-latest | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write |
| [](https://github.com/tamada/gixor/pkgs/container/gixor/) | ||
| [](https://github.com/tamada/homebrew-tap) | ||
|
|
||
| Gixor is Git Ignore Managenemnt System for Multiple Repositories. |
There was a problem hiding this comment.
Corrected spelling of 'Managenemnt' to 'Management'.
| Gixor is Git Ignore Managenemnt System for Multiple Repositories. | |
| Gixor is Git Ignore Management System for Multiple Repositories. |
…and bump version to 0.4.1
Pull Request Test Coverage Report for Build 19093148129Details
💛 - Coveralls |
The purpose of this release is to evaluate the
generate-noteoption ofgh release createcommand.