-
Notifications
You must be signed in to change notification settings - Fork 7
docs: Remove AWS deployment and update CLI documentation #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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5f952ff
feat: Priority 1 - Remove AWS deployment, add CLI installation guide …
cf3c080
feat: Priority 2 - Update cloud and on-premise deployment guides
cd5090b
chore: Priority 3 - Remove remaining AWS references and update sideba…
a05220b
fix: Correct broken links to building-an-extension page
f1faba4
bumped the version
roncodes 367d43f
added release workflow for tag push
roncodes 28ecacb
update ci to use pnpm 9.5
roncodes 1771ad1
fix: Remove pnpm version to use packageManager field from package.json
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| name: Create Release | ||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
|
|
||
| jobs: | ||
| create: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Publish GitHub Release | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| tag_name: ${{ github.ref_name }} | ||
| name: ${{ github.ref_name }} | ||
| generate_release_notes: true | ||
| draft: false | ||
| prerelease: false | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 5 days ago
In general, the fix is to explicitly declare a
permissionsblock, either at the workflow root (applies to all jobs) or at the individual job level, granting only the minimum scopes required. For a release-creation workflow usingsoftprops/action-gh-release, the job needs to write releases (and typically contents), so we should grantcontents: write(and optionally a narrowercontents: writewithout other write scopes). We do not need broadwriteaccess to issues, pull requests, etc., so we should avoid those unless the workflow actually uses them.The best targeted fix here is to add a
permissionsblock under thecreatejob (right belowruns-on: ubuntu-latest) specifying minimal necessary scopes. According to GitHub’s permission model, to create a release we needcontents: write. We can therefore add:immediately under
runs-on: ubuntu-latest. This keeps existing functionality intact while constrainingGITHUB_TOKENto only what the job requires. No additional imports or libraries are involved, since this is just a YAML workflow configuration change within.github/workflows/create-release.yml.