Skip to content
Draft
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
7 changes: 4 additions & 3 deletions .github/actions/build-chainlink-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ runs:
- name: Check if image exists
if: ${{ inputs.dep_evm_sha != '' || inputs.check_image_exists == 'true'}}
id: check-image
uses: smartcontractkit/chainlink-github-actions/docker/image-exists@75a9005952a9e905649cfb5a6971fd9429436acd # v2.3.25
uses: smartcontractkit/.github/actions/ecr-image-exists@ecr-image-exists/0.2.0
with:
repository: chainlink
tag: ${{ inputs.git_commit_sha }}${{ inputs.tag_suffix }}
AWS_REGION: ${{ inputs.AWS_REGION }}
AWS_ROLE_TO_ASSUME: ${{ inputs.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ inputs.AWS_REGION }}
aws-role-arn: ${{ inputs.AWS_ROLE_TO_ASSUME }}

- name: Build Image
if: steps.check-image.outputs.exists != 'true'
uses: smartcontractkit/.github/actions/ctf-build-image@ctf-build-image/0.2.0
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/golangci-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
fi
- name: Golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
env:
# golangci-lint runs with absolute path mode: --path-mode=abs
REPORT_PATH: ${{ github.workspace }}/${{ steps.set-working-directory.outputs.golangci-lint-working-directory }}golangci-lint-report.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-cre-e2e-test-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:

- name: Restore Cache
id: cache-restore
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
key: ${{ steps.setup-cache-dir-key.outputs.cache-key }}
path: ${{ steps.setup-cache-dir-key.outputs.download-path }}
Expand Down Expand Up @@ -82,7 +82,7 @@ runs:

- name: Save cache
if: ${{ steps.cache-restore.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{ steps.setup-cache-dir-key.outputs.cache-key }}
path: ${{ steps.setup-cache-dir-key.outputs.download-path }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ runs:
- name: Get branch name
if: ${{ inputs.only-modules == 'false' }}
id: branch-name
uses: smartcontractkit/.github/actions/branch-names@branch-names/1.0.0
uses: smartcontractkit/.github/actions/branch-names@branch-names/v1

# 2. Build the cache keys
# ---
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-nodejs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ description: Setup pnpm for contracts
runs:
using: composite
steps:
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
with:
version: ^10.0.0

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "20"
cache: "pnpm"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bash-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
persist-credentials: false
- name: Run ShellCheck
if: needs.changes.outputs.bash-scripts-src == 'true'
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
with:
scandir: "./tools/bin"
# Consider changing this to check for warnings once all warnings are fixed.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

- name: Check release tag
id: release-tag-check
uses: smartcontractkit/.github/actions/release-tag-check@c5c4a8186da4218cff6cac8184e47dd3dec69ba3 # release-tag-check@0.1.0
uses: smartcontractkit/.github/actions/release-tag-check@9fc306ac63d8997c9ca0da283e56caaf71589f83 # release-tag-check/1.0.0

Check warning on line 29 in .github/workflows/build-publish.yml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)

Check warning on line 29 in .github/workflows/build-publish.yml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)

- name: Compute CCIP image tag
id: compute-ccip-tag
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
run: bash ./.github/scripts/check-changeset-tags.sh ${{ steps.files-changed.outputs.core-changeset_files }}

- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
if: ${{ steps.files-changed.outputs.core == 'true' || steps.files-changed.outputs.shared == 'true' }}
with:
version: ^10.0.0

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
if: ${{ steps.files-changed.outputs.core == 'true' || steps.files-changed.outputs.shared == 'true' }}
with:
node-version: 20
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
path: ./dot_github

- name: Make a comment
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
if: ${{ steps.files-changed.outputs.core == 'true' || steps.files-changed.outputs.shared == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -111,12 +111,12 @@ jobs:
I see you updated files related to `core`. Please run `make gocs` in the root directory to add a changeset as well as in the text include at least one of the following tags:
${{ env.TAGS }}
reactions: eyes
comment_tag: changeset-core
comment-tag: changeset-core
mode: ${{ steps.files-changed.outputs.core-changeset == 'false' && 'upsert' || 'delete' }}
create_if_not_exists: ${{ steps.files-changed.outputs.core-changeset == 'false' && 'true' || 'false' }}
create-if-not-exists: ${{ steps.files-changed.outputs.core-changeset == 'false' && 'true' || 'false' }}

- name: Make a comment
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
if: ${{ steps.files-changed.outputs.core-changeset == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -125,9 +125,9 @@ jobs:
I see you added a changeset file but it does not contain a tag. Please edit the text include at least one of the following tags:
${{ env.TAGS }}
reactions: eyes
comment_tag: changeset-core-tags
comment-tag: changeset-core-tags
mode: ${{ steps.changeset-tags.outputs.has_tags == 'false' && 'upsert' || 'delete' }}
create_if_not_exists: ${{ steps.changeset-tags.outputs.has_tags == 'false' && 'true' || 'false' }}
create-if-not-exists: ${{ steps.changeset-tags.outputs.has_tags == 'false' && 'true' || 'false' }}

- name: Check for new changeset tags for core
if: ${{ steps.files-changed.outputs.core-changeset == 'true' && steps.changeset-tags.outputs.has_tags == 'false' }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/changesets-preview-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
- '.changeset/**'

- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
if: steps.change.outputs.core-changeset == 'true'
with:
version: ^10.0.0

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
if: steps.change.outputs.core-changeset == 'true'
with:
node-version: 20
Expand All @@ -52,9 +52,9 @@ jobs:

- name: Create release preview PR
if: steps.change.outputs.core-changeset == 'true'
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
git-token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: |
.changeset/**
CHANGELOG.md
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ jobs:
modules: ${{ fromJson(needs.filter.outputs.affected-modules) }}
steps:
- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
with:
metrics: cpu,network,memory,disk
uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2

- name: Checkout
uses: actions/checkout@v6
Expand Down Expand Up @@ -315,9 +313,8 @@ jobs:
actions: read
steps:
- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
with:
metrics: cpu,network,memory,disk
uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2


- name: Checkout the repo
if: ${{ matrix.type.should-run == 'true' }}
Expand All @@ -344,7 +341,7 @@ jobs:

- name: Setup Aptos
if: ${{ matrix.type.should-run == 'true' && matrix.type.setup-aptos == 'true' }}
uses: aptos-labs/actions/install-aptos-cli@63740b290d839b87ecfafbcf75ed03a36a54a29f # jan 15, 2025
uses: aptos-labs/actions/install-aptos-cli@528ef7ad9427a8c0720ea3eea790a9190d6e377d # 2026-04-07
with:
CLI_VERSION: 8.1.0

Expand Down Expand Up @@ -525,7 +522,7 @@ jobs:
fetch-depth: 0 # fetches all history for all tags and branches to provide more metadata for sonar reports

- name: Download all workflow artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8

- name: Check and Set SonarQube Report Paths
shell: bash
Expand Down Expand Up @@ -610,7 +607,7 @@ jobs:

- name: SonarQube Scan
if: ${{ env.SONARQUBE_ARGS != '' }}
uses: sonarsource/sonarqube-scan-action@aecaf43ae57e412bd97d70ef9ce6076e672fe0a9 # v2.3.0
uses: sonarsource/sonarqube-scan-action@59db25f34e16620e48ab4bb9e4a5dce155cb5432 # v8.0.0
with:
args: ${{ env.SONARQUBE_ARGS }}
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/ci-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ jobs:
actions: read
steps:
- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
with:
metrics: cpu,network,memory,disk
uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2

- name: Checkout the repo
uses: actions/checkout@v6
with:
Expand All @@ -160,7 +159,7 @@ jobs:
- name: Setup Solana
uses: ./.github/actions/setup-solana
- name: Setup Aptos
uses: aptos-labs/actions/install-aptos-cli@63740b290d839b87ecfafbcf75ed03a36a54a29f # jan 15, 2025
uses: aptos-labs/actions/install-aptos-cli@528ef7ad9427a8c0720ea3eea790a9190d6e377d # 2026-04-07
with:
CLI_VERSION: 8.1.0
- name: Setup Sui CLI v1.69.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
persist-credentials: false

- name: Setup buf
uses: bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
build-mode: none
steps:
- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
with:
metrics: cpu,network,memory,disk
uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2


- name: Checkout repository
uses: actions/checkout@v6
Expand All @@ -63,7 +62,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand All @@ -83,7 +82,7 @@ jobs:
echo "::endgroup::"

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"

Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/cre-local-env-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@ jobs:
ref: ${{ github.event_name == 'pull_request' && github.sha || inputs.chainlink_version }}

- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
with:
metrics: cpu,network,memory,disk
uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2


- name: Set up Go
id: setup-go
Expand Down Expand Up @@ -109,7 +108,7 @@ jobs:

# We need to login to ECR to allow the test to pull the Job Distributor and Chainlink images
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
aws-region: ${{ secrets.QA_AWS_REGION }}
role-to-assume: ${{ secrets.AWS_CTF_READ_ACCESS_ROLE_ARN }}
Expand All @@ -118,7 +117,7 @@ jobs:

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
uses: aws-actions/amazon-ecr-login@fa648b43de3d4d023bcb3f89ed6940096949c419 # v2.1.5
with:
registries: ${{ format('{0},{1}', secrets.QA_AWS_ACCOUNT_NUMBER, secrets.AWS_ACCOUNT_ID_PROD) }}
env:
Expand All @@ -131,7 +130,7 @@ jobs:

- name: Setup GitHub token using GATI
id: github-token
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/1.0.0
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/v1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }}
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/cre-regression-system-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ jobs:
persist-credentials: false

- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
with:
metrics: cpu,network,memory,disk
uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2

- name: Set up Go
id: setup-go
Expand Down Expand Up @@ -138,9 +136,7 @@ jobs:

steps:
- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
with:
metrics: cpu,network,memory,disk
uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2

- name: Checkout
uses: actions/checkout@v6
Expand All @@ -158,7 +154,7 @@ jobs:
# Required to pull private ECR images such as Job Distributor (main) and Chip Ingress (main),
# and also the Chainlink image when inputs.ecr is "sdlc".
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
aws-region: ${{ secrets.QA_AWS_REGION }}
role-to-assume: ${{ secrets.AWS_CTF_READ_ACCESS_ROLE_ARN }}
Expand All @@ -167,7 +163,7 @@ jobs:

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@183a1442edf41672e66566b7fc560e297a290896 # v2.1.1
uses: aws-actions/amazon-ecr-login@fa648b43de3d4d023bcb3f89ed6940096949c419 # v2.1.5
with:
registries: ${{ format('{0},{1}', secrets.QA_AWS_ACCOUNT_NUMBER,
secrets.AWS_ACCOUNT_ID_PROD) }}
Expand All @@ -177,7 +173,7 @@ jobs:
# Required to allow pulling public images
- name: Authenticate to ECR (public)
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@183a1442edf41672e66566b7fc560e297a290896 # v2.1.1
uses: aws-actions/amazon-ecr-login@fa648b43de3d4d023bcb3f89ed6940096949c419 # v2.1.5
with:
registry-type: public
env:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/cre-soak-memory-leak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ jobs:

steps:
- name: Enable S3 Cache for Self-Hosted Runners
uses: runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
with:
metrics: cpu,network,memory,disk
uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2

- name: Checkout
uses: actions/checkout@v6
Expand All @@ -55,7 +53,7 @@ jobs:
cache: true

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
aws-region: ${{ secrets.QA_AWS_REGION }}
role-to-assume: ${{ secrets.AWS_CTF_READ_ACCESS_ROLE_ARN }}
Expand All @@ -64,7 +62,7 @@ jobs:

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
uses: aws-actions/amazon-ecr-login@fa648b43de3d4d023bcb3f89ed6940096949c419 # v2.1.5
with:
registries: ${{ format('{0},{1}', secrets.QA_AWS_ACCOUNT_NUMBER,
secrets.AWS_ACCOUNT_ID_PROD) }}
Expand Down
Loading
Loading