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
33 changes: 33 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Release

permissions:
# Required by AWS CodeArtifact
id-token: write

# Required by semantic-release
contents: write
pull-requests: write
issues: write

on:
push:
branches:
- master
- next
- next-major
- beta
- alpha
- "[0-9]+.[0-9]+.x"
- "[0-9]+.x"

jobs:
release:
uses: BitGo/gha-release-typescript-library/.github/workflows/release.yml@v3

Copilot AI Jul 21, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a mutable tag 'v3' for the reusable workflow poses a security risk as the referenced workflow could change without notice. Consider pinning to a specific commit SHA or immutable tag for better security and reproducibility.

Suggested change
uses: BitGo/gha-release-typescript-library/.github/workflows/release.yml@v3
uses: BitGo/gha-release-typescript-library/.github/workflows/release.yml@<commit-SHA>

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with:
lint-node-version: '22.x'
test-node-versions: '["22.x"]'
release-node-version: '22.x'
build-command: 'yarn build'
test-command: 'yarn test'
allow-postinstall-scripts: false