diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index bbac8ad8d1..78fbb6f4b9 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -36,7 +36,7 @@ runs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" # First, we want to install yarn since our base image doesn't have it installed - - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 + - uses: actions/setup-node@v4 with: # This doesn't use cache: 'yarn' as the base image doesn't have it, and we're caching node_modules node-version: 22 @@ -50,7 +50,7 @@ runs: - name: Restore yarn cache id: restore-yarn-cache if: inputs.skip-cache != 'true' - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache/restore@v4 with: # Restrict it to the run and attempt for debugging purposes, but in theory # these should be fine to persist between runs as well @@ -70,7 +70,7 @@ runs: shell: bash - name: Cache yarn cache if: steps.restore-yarn-cache.outputs.cache-hit != 'true' && inputs.skip-cache != 'true' - uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache/save@v4 with: key: yarn_cache-${{ hashFiles('./yarn.lock') }}-${{ github.run_id }}-${{ github.run_attempt }} path: | @@ -80,7 +80,7 @@ runs: # Build TS files unless it's been specified otherwise - name: Restore TS built files if present id: restore-ts-build - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache/restore@v4 if: | inputs.skip-setup != 'true' && inputs.skip-cache != 'true' @@ -157,7 +157,7 @@ runs: if: | inputs.skip-setup != 'true' && inputs.skip-cache != 'true' - uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache/save@v4 with: key: tsbuild-${{ github.sha }}-${{ github.run_id }} path: | diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 46e28cec88..a4ddbae474 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -24,7 +24,7 @@ jobs: runs-on: ['ubuntu-latest'] steps: - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: fetch-depth: 2 - name: Check whether adapter change also has a changeset @@ -40,7 +40,7 @@ jobs: adapter-list: ${{ steps.changed-adapters.outputs.CHANGED_ADAPTERS }} steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up and install dependencies @@ -63,7 +63,7 @@ jobs: - install-packages steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 - name: Set up and install dependencies uses: ./.github/actions/setup - name: Run unit tests @@ -81,7 +81,7 @@ jobs: - install-packages steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 - name: Set up and install dependencies uses: ./.github/actions/setup - name: Run integration tests @@ -98,7 +98,7 @@ jobs: - install-packages steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 - name: Set up and install dependencies uses: ./.github/actions/setup - name: Lint all files @@ -118,7 +118,7 @@ jobs: METRICS_ENABLED: false steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up and install dependencies @@ -138,7 +138,7 @@ jobs: - install-packages steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 - name: Set up and install dependencies uses: ./.github/actions/setup - name: Check for outdated ea-framework dependencies diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 285b4edc81..03f44194af 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,7 +36,7 @@ jobs: tmp-branch: ${{ steps.push-branch.outputs.TMP_BRANCH }} steps: - name: Checkout Repo - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: fetch-depth: 2 - name: Set up and install dependencies @@ -90,7 +90,7 @@ jobs: IMAGE_VERSION: ${{ matrix.adapter.version }} steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: ref: ${{ needs.calculate-changes.outputs.tmp-branch }} - name: Build the adapter image @@ -158,7 +158,7 @@ jobs: if: always() && needs.calculate-changes.outputs.adapter-list != '[]' steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: ref: ${{ needs.calculate-changes.outputs.tmp-branch }} - name: Delete ephemeral branch diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd10be6975..7c49418f93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: adapter-list: ${{ steps.changed-adapters.outputs.CHANGED_ADAPTERS }} steps: - name: Checkout Repo - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: fetch-depth: 2 - name: Set up and install dependencies @@ -62,7 +62,7 @@ jobs: ECR_REPO: adapters/${{ matrix.adapter.shortName }}-adapter steps: - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 - name: Configure AWS Credentials for SDLC Private ECR uses: aws-actions/configure-aws-credentials@4fc4975a852c8cd99761e2de1f4ba73402e44dd9 # v4.0.3 with: @@ -95,7 +95,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token steps: - name: Checkout Repo - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 - name: Get release version id: get-version run: | diff --git a/.github/workflows/soak-test-start.yml b/.github/workflows/soak-test-start.yml index a0ba068071..de50bc1b36 100644 --- a/.github/workflows/soak-test-start.yml +++ b/.github/workflows/soak-test-start.yml @@ -31,7 +31,7 @@ jobs: aws-region: ${{ secrets.AWS_REGION }} aws-role-duration-seconds: '3600' # this is optional and defaults to 900 - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: fetch-depth: 2 diff --git a/.github/workflows/upsert-release-pr.yml b/.github/workflows/upsert-release-pr.yml index da32e9d287..55e210fff6 100644 --- a/.github/workflows/upsert-release-pr.yml +++ b/.github/workflows/upsert-release-pr.yml @@ -35,7 +35,7 @@ jobs: BUILD_ALL: ${{ github.event.inputs.build-all }} steps: - name: Checkout Repo - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0