-
Notifications
You must be signed in to change notification settings - Fork 10
refactor: messaging #587
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?
refactor: messaging #587
Conversation
builds on rust stable
Also bumps other deps in line with versions defined within the stable2506 release.
needs: lint | ||
runs-on: ubuntu-latest | ||
env: | ||
RUSTFLAGS: '--cfg ink_abi="all"' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: "./.github/actions/init" | ||
|
||
- name: Run integration tests | ||
working-directory: pop-api/integration-tests | ||
run: cargo test --release --features devnet | ||
- name: Run API integration tests | ||
run: cargo test -p pop-api-vnext-integration-tests --release --locked | ||
|
||
api-integration-tests-testnet: | ||
api-tests: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI about 2 months ago
To fix the problem, add an explicit permissions
block to the api-vnext-integration-tests
job in .github/workflows/ci.yml
. The minimal required permission for most test jobs is contents: read
, which allows the job to check out code but not modify repository contents or perform write operations. This change should be made by inserting the following lines under the runs-on: ubuntu-latest
line (line 157), before any other keys such as env
or steps
. No additional methods, imports, or definitions are needed.
-
Copy modified lines R158-R159
@@ -155,6 +155,8 @@ | ||
api-vnext-integration-tests: | ||
needs: lint | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
env: | ||
RUSTFLAGS: '--cfg ink_abi="all"' | ||
steps: |
No description provided.