-
Notifications
You must be signed in to change notification settings - Fork 0
feat: alpha release #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
✅ Code Quality
|
| NODE_AUTH_TOKEN: ${{ secrets.ENV_NPM_TOKEN }} | ||
|
|
||
| - name: Create GitHub Release | ||
| uses: actions/github-script@v7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 High: Code Vulnerability
Workflow depends on a GitHub actions pinned by tag instead of a hash. (...read more)
Pin GitHub Actions by commit hash to ensure supply chain security.
Using a branch (@main) or tag (@v1) allows for implicit updates, which can introduce unexpected or malicious changes. Instead, always pin actions to a full length commit SHA. You can find the commit SHA for the latest tag from the action’s repository and ensure frequent updates via auto-updaters such as dependabot. Include a comment with the corresponding full-length SemVer tag for clarity:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2By default, the rule allows the following actions without pinning: "actions/checkout", "datadog/datadog-sca-github-action", "datadog/datadog-static-analyzer-github-action"
Arguments
Use the rule argument allow to allow a list of actions without pinning. The list is comma-separated.
rulesets:
- github-actions:
rules:
unpinned-actions:
arguments:
allow: actions/checkout,datadog/datadog-static-analyzer-github-action
| echo "//registry.npmjs.org/:_authToken=${{ secrets.ENV_NPM_TOKEN }}" > ~/.npmrc | ||
| npm config set access public | ||
| cd packages/browser | ||
| npm publish --tag alpha |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Motivation
publishing to the alpha channel on main for snapshot releases to help improve stability of
previewand other release channels