Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pin all actions/* references to major version #855

Merged
merged 2 commits into from
Feb 4, 2025
Merged
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
39 changes: 39 additions & 0 deletions .changeset/big-bikes-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
"cicd-build-publish-artifacts-go": patch
"cicd-build-publish-artifacts-ts": patch
"guard-from-missing-changesets": patch
"cicd-build-publish-charts": patch
"cicd-build-publish-docker": patch
"llm-action-error-reporter": patch
"crib-deploy-environment": patch
"guard-tag-from-branch": patch
"cleanup-old-branches": patch
"ctf-build-test-image": patch
"ctf-run-tests-binary": patch
"slack-notify-git-ref": patch
"md-confluence-sync": patch
"wait-for-workflows": patch
"ci-benchmarking": patch
"ci-sonarqube-go": patch
"ci-sonarqube-ts": patch
"cicd-changesets": patch
"ctf-build-image": patch
"ctf-build-tests": patch
"ci-kubeconform": patch
"ci-lint-charts": patch
"setup-renovate": patch
"update-actions": patch
"ctf-run-tests": patch
"llm-pr-writer": patch
"ci-lint-misc": patch
"ctf-setup-go": patch
"setup-golang": patch
"ci-prettier": patch
"ci-test-sol": patch
"ci-lint-go": patch
"ci-lint-ts": patch
"ci-test-go": patch
"ci-test-ts": patch
---

chore: pin actions/\* dependencies to major version tag
4 changes: 2 additions & 2 deletions actions/ci-benchmarking/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ runs:
using: "composite"
steps:
- name: Checkout Code
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4

- name: Setup Go Environment
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version: "stable"

Expand Down
4 changes: 2 additions & 2 deletions actions/ci-kubeconform/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

- name: Install Go
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version-file: ${{ inputs.go-version-file }}

Expand Down
2 changes: 1 addition & 1 deletion actions/ci-lint-charts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down
6 changes: 3 additions & 3 deletions actions/ci-lint-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down Expand Up @@ -108,7 +108,7 @@ runs:
envFile: ${{ inputs.env-files }}

- name: Setup go
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version-file: ${{ inputs.go-version-file }}
cache: ${{ inputs.use-go-cache }}
Expand All @@ -131,7 +131,7 @@ runs:

- name: Store lint report artifact
if: always()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: golangci-lint-report
path: ${{ inputs.go-directory }}/golangci-lint-report.xml
2 changes: 1 addition & 1 deletion actions/ci-lint-misc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down
4 changes: 2 additions & 2 deletions actions/ci-lint-ts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand All @@ -59,7 +59,7 @@ runs:

- name: Store lint result artifacts
if: always()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: ts-lint-results
path: ./eslint-report.json
2 changes: 1 addition & 1 deletion actions/ci-prettier/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down
6 changes: 3 additions & 3 deletions actions/ci-sonarqube-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

- name: Download all reports (no test-report-workflow)
id: all
if: inputs.test-report-workflow == ''
uses: actions/download-artifact@v4.1.8 # v4.1.8
uses: actions/download-artifact@v4

- name: Download all reports (no lint-report-workflow)
if: steps.all.outcome != 'success' && inputs.lint-report-workflow == ''
uses: actions/download-artifact@v4.1.8 # v4.1.8
uses: actions/download-artifact@v4

- name: Download test-report artifact using workflow file name
if: inputs.test-report-workflow != ''
Expand Down
6 changes: 3 additions & 3 deletions actions/ci-sonarqube-ts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

- name: Download all reports (no test-report-workflow)
id: all
if: inputs.test-report-workflow == ''
uses: actions/download-artifact@v4.1.8 # v4.1.8
uses: actions/download-artifact@v4

- name: Download all reports (no lint-report-workflow)
if: steps.all.outcome != 'success' && inputs.lint-report-workflow == ''
uses: actions/download-artifact@v4.1.8 # v4.1.8
uses: actions/download-artifact@v4

- name: Download test-report artifact using workflow file name
if: inputs.test-report-workflow != ''
Expand Down
6 changes: 3 additions & 3 deletions actions/ci-test-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down Expand Up @@ -163,7 +163,7 @@ runs:

- name: Store test report artifacts
if: always()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: go-test-results
path: |
Expand All @@ -172,7 +172,7 @@ runs:

- name: Store race coverage report
if: ${{ inputs.enable-go-test-race == 'true' }}
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: go-test-race-results
path: race/*.txt
2 changes: 1 addition & 1 deletion actions/ci-test-sol/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down
4 changes: 2 additions & 2 deletions actions/ci-test-ts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand All @@ -60,7 +60,7 @@ runs:

- name: Store test result artifacts
if: always()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: ts-test-results
path: |
Expand Down
4 changes: 2 additions & 2 deletions actions/cicd-build-publish-artifacts-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}
ref: ${{ inputs.checkout-ref }}
Expand Down Expand Up @@ -140,7 +140,7 @@ runs:
"https://github.com/"

- name: Setup go
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version-file: ${{ inputs.go-version-file }}
cache: ${{ inputs.use-go-cache }}
Expand Down
2 changes: 1 addition & 1 deletion actions/cicd-build-publish-artifacts-ts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down
2 changes: 1 addition & 1 deletion actions/cicd-build-publish-charts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down
2 changes: 1 addition & 1 deletion actions/cicd-build-publish-docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down
2 changes: 1 addition & 1 deletion actions/cicd-changesets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ runs:
url: ${{ inputs.aws-lambda-url }}

- name: Checkout repo
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}
token: ${{ steps.get-gh-token.outputs.access-token }}
Expand Down
2 changes: 1 addition & 1 deletion actions/cleanup-old-branches/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
steps:
- name: Checkout repo
if: inputs.checkout-repo == 'true'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
fetch-depth: ${{ inputs.checkout-repo-fetch-depth }}

Expand Down
4 changes: 2 additions & 2 deletions actions/crib-deploy-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ runs:
websockets-services: ${{ env.WEBSOCKETS_SERVICES }}

- name: Checkout crib repo
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
repository: "smartcontractkit/crib"
ref: ${{ inputs.crib-repo-ref }}
Expand Down Expand Up @@ -302,7 +302,7 @@ runs:
nix develop -c /bin/bash -c "devspace use namespace ${DEVSPACE_NAMESPACE} && devspace run ${{ inputs.command }} ${{ inputs.command-args }}"
- name: Render notification template
uses: actions/github-script@v7.0.1
uses: actions/github-script@v7
id: render-slack-template
if:
failure() && inputs.crib-alert-slack-webhook != '' && inputs.send-alerts
Expand Down
4 changes: 2 additions & 2 deletions actions/ctf-build-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ runs:
steps:
- name: Checkout Chainlink repo
if: ${{ inputs.should_checkout == 'true' }}
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
repository: ${{ inputs.cl_repo }}
ref: ${{ inputs.cl_ref }}
- uses: actions/setup-go@v5.0.2
- uses: actions/setup-go@v5
env:
GOPRIVATE: ${{ inputs.GOPRIVATE }}
with:
Expand Down
2 changes: 1 addition & 1 deletion actions/ctf-build-test-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ runs:
echo "short_sha=${short_sha}" >> "$GITHUB_OUTPUT"
- name: Checkout chainlink-testing-framework
if: steps.version.outputs.is_semantic == 'false'
uses: actions/checkout@v4.2.1
uses: actions/checkout@v4
with:
repository: smartcontractkit/chainlink-testing-framework
ref: main
Expand Down
2 changes: 1 addition & 1 deletion actions/ctf-build-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ runs:
echo "Built binary at ./integration-tests/tests"
- name: Publish Binary
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.binary_name }}
path: ./integration-tests/tests
4 changes: 2 additions & 2 deletions actions/ctf-run-tests-binary/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ runs:
# Download any external artifacts
- name: Download Artifacts
if: inputs.download_contract_artifacts_path != 'none'
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@v4
with:
name: artifacts
path: ${{ inputs.download_contract_artifacts_path }}
Expand Down Expand Up @@ -141,7 +141,7 @@ runs:

- name: Publish Artifacts
if: failure()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifacts_name }}
path: ${{ inputs.artifacts_location }}
Expand Down
4 changes: 2 additions & 2 deletions actions/ctf-run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ runs:
# Download any external artifacts
- name: Download Artifacts
if: inputs.download_contract_artifacts_path != 'none'
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@v4
with:
name: artifacts
path: ${{ inputs.download_contract_artifacts_path }}
Expand Down Expand Up @@ -315,7 +315,7 @@ runs:

- name: Publish Artifacts
if: failure()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifacts_name }}
path: ${{ inputs.artifacts_location }}
Expand Down
2 changes: 1 addition & 1 deletion actions/ctf-setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
using: composite
steps:
- name: Setup Go
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go_version }}
go-version-file: ${{ inputs.go_mod_path }}
Expand Down
Loading
Loading