-
Notifications
You must be signed in to change notification settings - Fork 4
Add Fern Integration #36
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
Conversation
🌿 Fern Regeneration -- August 31, 2025
🌿 Fern Regeneration -- August 31, 2025
runs-on: ubuntu-latest | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Bootstrap | ||
run: ./scripts/bootstrap | ||
- name: Set up node | ||
uses: actions/setup-node@v3 | ||
|
||
- name: Run tests | ||
run: ./scripts/test | ||
- name: Compile | ||
run: yarn && yarn test |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 20 days ago
To fix the problem, you should add an explicit permissions
key that limits the GITHUB_TOKEN privileges to read-only for repository contents. The best way is to add a root-level permissions
block, which applies to all jobs in the workflow unless overridden. This should be placed after the name:
and on:
entries, before jobs:
. No other code changes are required, and there is no functional impact—build and test actions do not require write permissions.
-
Copy modified lines R4-R5
@@ -1,6 +1,8 @@ | ||
name: ci | ||
|
||
on: [push] | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
compile: |
This PR changes SDK generator from Stainless to Fern.