feat(node): add certified membership check to API Boundary Node health monitoring #6335
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
| 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@v6 | |
| with: | |
| ref: ${{ github.repository == 'dfinity/ic-private' && 'master-private' || 'master' }} | |
| path: "base" | |
| - name: Checkout PR | |
| uses: actions/checkout@v6 | |
| 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@v5 | |
| 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@v4 | |
| with: | |
| fail-on-severity: moderate |