Skip to content

Commit cd4e60b

Browse files
jasonvargaclaude
andcommitted
Replace softprops/action-gh-release with native gh CLI
Uses the pre-installed gh CLI instead of a third-party action, avoiding a supply chain dependency for functionality the runner already provides. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5e50cea commit cd4e60b

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ jobs:
3535
version: ${{ github.ref }}
3636

3737
- name: Create release
38-
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
3938
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
with:
42-
tag_name: ${{ steps.changelog.outputs.version }}
43-
name: ${{ steps.changelog.outputs.version }}
44-
body: ${{ steps.changelog.outputs.text }}
45-
files: |
46-
./resources/dist.tar.gz
47-
./resources/dist-dev.tar.gz
48-
./resources/dist-frontend.tar.gz
39+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
RELEASE_VERSION: ${{ steps.changelog.outputs.version }}
41+
RELEASE_NOTES: ${{ steps.changelog.outputs.text }}
42+
run: |
43+
gh release create "$RELEASE_VERSION" \
44+
--title "$RELEASE_VERSION" \
45+
--notes "$RELEASE_NOTES" \
46+
./resources/dist.tar.gz \
47+
./resources/dist-dev.tar.gz \
48+
./resources/dist-frontend.tar.gz \
4949
./resources/dist-package.tar.gz
5050
5151
- name: Deploy Storybook to Forge

0 commit comments

Comments
 (0)