-
Notifications
You must be signed in to change notification settings - Fork 0
Rebase latest upstream changes #5
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: master
Are you sure you want to change the base?
Conversation
Add hoodi
Add JDs dockerfile
fix docker entrypoint/cmd
…in permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Oisín Kyne <[email protected]>
Push docker image building action
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./helios-ts | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Setup Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
default: true | ||
override: true | ||
|
||
- name: Cache Rust dependencies | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Install Node.js dependencies | ||
run: npm ci | ||
|
||
- name: Build helios-ts package | ||
run: npm run build | ||
|
||
- name: Create npm package tarball | ||
id: pack | ||
run: | | ||
PACKAGE_FILENAME=$(npm pack) | ||
echo "Packed file: $PACKAGE_FILENAME" | ||
echo "::set-output name=package_filename::$PACKAGE_FILENAME" | ||
- name: Generate tag name | ||
id: tag | ||
# This step runs in the workspace root, not ./helios-ts default | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
echo "::set-output name=release_tag::nightly-${GITHUB_SHA}" | ||
- name: Release npm package to GitHub Releases | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: ${{ steps.tag.outputs.release_tag }} | ||
prerelease: true | ||
files: helios-ts/${{ steps.pack.outputs.package_filename }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 3 months ago
To fix the issue, we will add a permissions
block at the root of the workflow file. This block will define the minimal permissions required for the workflow to function. Specifically:
contents: read
is needed for accessing repository files.packages: write
is required for publishing npm packages.pull-requests: write
is required for interacting with pull requests.issues: write
is required for creating or updating issues.actions: write
is required for interacting with GitHub Actions artifacts.
The permissions
block will be added at the top level of the workflow file, ensuring it applies to all jobs unless overridden by a job-specific permissions
block.
-
Copy modified lines R6-R12
@@ -5,2 +5,9 @@ | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
pull-requests: write | ||
issues: write | ||
actions: write | ||
|
||
jobs: |
Getting hit with rate limits on alchemy and infura running this many tests in parallel. Moving forward anyways. |
Signed-off-by: Oisín Kyne <[email protected]>
No description provided.