Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/release-kit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # zizmor: ignore[artipacked]
with:
ref: "kits"

- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
Expand All @@ -76,6 +78,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # zizmor: ignore[artipacked]
with:
ref: "kits"

- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
Expand Down Expand Up @@ -214,8 +218,8 @@ jobs:
- name: Push Version Commit & Tags to Branch
if: ${{ !inputs.dry_run }}
env:
REF_NAME: ${{ github.ref_name }}
run: git push origin "$REF_NAME" --follow-tags
TARGET_BRANCH: "kits"
run: git push origin "$TARGET_BRANCH" --follow-tags

- name: Publish to NPM
# zizmor: ignore[use-trusted-publishing]
Expand Down Expand Up @@ -251,7 +255,7 @@ jobs:
VERSION: ${{ steps.versioning.outputs.version }}
IS_PRERELEASE: ${{ inputs.is_prerelease }}
NOTES: ${{ steps.changelog.outputs.notes }}
REF_NAME: ${{ github.ref_name }}
TARGET_BRANCH: "kits"
run: |
PRERELEASE_FLAG=""
if [ "$IS_PRERELEASE" = "true" ]; then
Expand All @@ -261,5 +265,5 @@ jobs:
gh release create "$TAG_NAME" \
--title "$PKG_NAME v$VERSION" \
--notes "$NOTES" \
--target "$REF_NAME" \
--target "$TARGET_BRANCH" \
$PRERELEASE_FLAG
Loading