Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 64 additions & 64 deletions .github/workflows/canister-tests.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/deploy-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
testnet_app_canister_id: jlfvx-nqaaa-aaaad-aab7a-cai
wallet_canister_id: cvthj-wyaaa-aaaad-aaaaq-cai
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- name: "Download build for Release Candidate"
uses: actions/github-script@v7
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
with:
script: |
// Find all artifacts for the backend build, and filter for non-expired main artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
frontend-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
# set a PAT so that add-and-commit can trigger CI runs
token: ${{ secrets.GIX_BOT_PAT }}
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
fi
done < <(jq <src/frontend/src/flows/dappsExplorer/dapps.json -cMr '.[] | .logo' )
- name: Commit type interfaces
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
# We don't want to commit automatic changes to main
if: ${{ github.ref != 'refs/heads/main' }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-review-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
github.event.pull_request.author_association == 'COLLABORATOR'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
ref: ${{ github.event.pull_request.base.sha }}
persist-credentials: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
matrix:
os: [ubuntu-22.04, ubuntu-20.04, macos-13, macos-14]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
ref: "refs/tags/${{ needs.latest-release.outputs.ref }}"

- uses: ./.github/actions/check-build

Check warning

Code scanning / CodeQL

Checkout of untrusted code in trusted context Medium

Potential unsafe checkout of untrusted pull request on privileged workflow.
with:
# we check that ubuntu builds match the latest release build
sha256: ${{ startsWith(matrix.os, 'ubuntu') && needs.latest-release.outputs.ii_prod_sha256 || '' }}
Expand All @@ -88,11 +88,11 @@
# was minimal, so we will skip them for now until there is a reliable way to run docker images on macos runners.
os: [ubuntu-22.04, ubuntu-20.04]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
ref: "refs/tags/${{ needs.latest-release.outputs.ref }}"

- name: "Verify Hash"

Check warning

Code scanning / CodeQL

Checkout of untrusted code in trusted context Medium

Potential unsafe checkout of untrusted pull request on privileged workflow.
run: |
./scripts/verify-hash --ii-hash ${{ needs.latest-release.outputs.ii_prod_sha256 }} --archive-hash ${{ needs.latest-release.outputs.archive_sha256 }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
cargo-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
# set a PAT so that add-and-commit can trigger
# CI runs
Expand All @@ -27,7 +27,7 @@ jobs:
cargo fmt

- name: Commit Formatting changes
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
# We don't want to commit formatting changes to main
if: ${{ github.ref != 'refs/heads/main' }}
with:
Expand All @@ -38,7 +38,7 @@ jobs:
cargo-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: ./.github/actions/bootstrap

- name: Create dummy assets
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
check-lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: ./.github/actions/bootstrap

# fails if lockfile is out of date
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-dapps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install -y imagemagick
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: ./.github/actions/setup-node
- run: npm ci

Expand All @@ -28,7 +28,7 @@ jobs:
# If the dapps changed, create a PR.
# This action creates a PR only if there are changes.
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ secrets.GIX_BOT_PAT }}
base: main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-dfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
dfx-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

# First, check dfx releases (on the SDK repo) for a new version.
- name: Check new dfx version
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
# If the dfx.json was updated, create a PR.
- name: Create Pull Request
if: ${{ steps.update.outputs.updated == '1' }}
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ secrets.GIX_BOT_PAT }}
base: main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-didc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
didc-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

# First, check didc releases (on the candid repo) for a new version.
- name: Check new didc version
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
# If the .didc-release was updated, create a PR.
- name: Create Pull Request
if: ${{ steps.update.outputs.updated == '1' }}
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ secrets.GIX_BOT_PAT }}
base: main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
node-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

# First, check node's releases for a new version.
- name: Check new node version
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
# If the .node-version was updated, create a PR.
- name: Create Pull Request
if: ${{ steps.update.outputs.updated == '1' }}
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ secrets.GIX_BOT_PAT }}
base: main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-passkey-aaguid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
steps:
# Create app token (needed to create pull request)
- name: Create GitHub App Token
uses: actions/create-github-app-token@v1
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
id: app-token
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}

# Checkout project
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
token: ${{ steps.app-token.outputs.token }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
rust-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

# First, check rust GitHub releases for a new version. We assume that the
# latest version's tag name is the version.
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
# If the rust-toolchain was updated, create a PR.
- name: Create Pull Request
if: ${{ steps.update.outputs.updated == '1' }}
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ secrets.GIX_BOT_PAT }}
base: main
Expand Down
Loading