Skip to content

Conversation

Daanvdplas
Copy link
Collaborator

No description provided.

evilrobot-01 and others added 30 commits June 25, 2025 23:11
Also bumps other deps in line with versions defined within the
stable2506 release.
@Daanvdplas Daanvdplas changed the base branch from main to feat/messaging August 21, 2025 11:35
Comment on lines 156 to 168
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

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

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.


Suggested changeset 1
.github/workflows/ci.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -155,6 +155,8 @@
   api-vnext-integration-tests:
     needs: lint
     runs-on: ubuntu-latest
+    permissions:
+      contents: read
     env:
       RUSTFLAGS: '--cfg ink_abi="all"'
     steps:
EOF
@@ -155,6 +155,8 @@
api-vnext-integration-tests:
needs: lint
runs-on: ubuntu-latest
permissions:
contents: read
env:
RUSTFLAGS: '--cfg ink_abi="all"'
steps:
Copilot is powered by AI and may make mistakes. Always verify output.
@Daanvdplas Daanvdplas changed the base branch from feat/messaging to messaging-precompiles August 21, 2025 11:37
Base automatically changed from messaging-precompiles to fungibles-precompiles August 26, 2025 07:19
Base automatically changed from fungibles-precompiles to stable2506 August 26, 2025 08:44
Base automatically changed from stable2506 to main August 27, 2025 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants