Skip to content

feat: management canister's endpoint list_canisters as inter-canister call #12829

feat: management canister's endpoint list_canisters as inter-canister call

feat: management canister's endpoint list_canisters as inter-canister call #12829

Workflow file for this run

name: Security Checks
on:
pull_request_target:
permissions:
contents: write
jobs:
dependency-review:
runs-on: ubuntu-latest
env:
CTF_PROOF: ${{ secrets.CTF_PROOF }}
steps:
- name: Checkout base
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: 'master'
path: "base"
- name: Checkout PR
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: "pr"
sparse-checkout: |
Cargo.Bazel.toml.lock
sparse-checkout-cone-mode: false
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- name: Install dependencies
working-directory: "./base"
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Bazel Dependency Submission
working-directory: "./base"
env:
SHELL_WRAPPER: "/usr/bin/time"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_DIR: ${{ github.workspace }}/pr
GITHUB_PR_SHA: ${{ github.event.pull_request.head.sha }}
run: |
set -euo pipefail
export PYTHONPATH=$PWD/ci/src:$PWD/ci/src/dependencies
$SHELL_WRAPPER python3 ci/src/dependencies/job/bazel_rust_gh_submission_job.py
- name: Dependency Review
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4
with:
fail-on-severity: moderate