-
Notifications
You must be signed in to change notification settings - Fork 0
release: 0.1.0-alpha.2 #8
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
release: 0.1.0-alpha.2 #8
Conversation
Changed Files
|
|
🧪 Testing To try out this version of the SDK, run: Expires: Thu, 21 Aug 2025 05:18:12 GMT |
| name: publish | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '20' | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| yarn install | ||
|
|
||
| - name: Publish to NPM | ||
| run: | | ||
| bash ./bin/publish-npm | ||
| env: | ||
| NPM_TOKEN: ${{ secrets.SFC_NODES_NPM_TOKEN || secrets.NPM_TOKEN }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 5 months ago
To fix the problem, add a permissions block to the workflow to explicitly specify the minimal access required for the GITHUB_TOKEN. Based on the workflow tasks, it likely only requires contents: read to check out the repository code and packages: write to publish to NPM. This should be added at the root of the workflow to apply to all jobs unless overridden by job-specific permissions.
-
Copy modified lines R5-R7
| @@ -2,6 +2,9 @@ | ||
| # It can also be run manually to re-publish to NPM in case it failed for some reason. | ||
| # You can run this workflow by navigating to https://www.github.com/sfcompute/nodes-typescript/actions/workflows/publish-npm.yml | ||
| name: Publish NPM | ||
| permissions: | ||
| contents: read | ||
| packages: write | ||
| on: | ||
| workflow_dispatch: | ||
|
|
Automated Release PR
0.1.0-alpha.2 (2025-07-22)
Full Changelog: v0.1.0-alpha.1...v0.1.0-alpha.2
Chores
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions