diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index da8d0c6ea54..3d9fb3cae89 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -22,10 +22,10 @@ jobs: # Note: To re-run `lint-commits` after fixing the PR title, close-and-reopen the PR. runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 20 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: '20' - name: Validate Branch name @@ -48,9 +48,9 @@ jobs: env: NODE_OPTIONS: '--max-old-space-size=8192' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} - run: npm ci @@ -68,12 +68,12 @@ jobs: NODE_OPTIONS: '--max-old-space-size=8192' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} @@ -133,9 +133,9 @@ jobs: AWS_TOOLKIT_TEST_CACHE_DIR: '/tmp/.vscode-test/' AWS_TOOLKIT_TEST_USER_DIR: '/tmp/.vscode-test/user-data/' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} - run: npm ci @@ -170,9 +170,9 @@ jobs: AWS_TOOLKIT_TEST_CACHE_DIR: '/tmp/.vscode-test/' AWS_TOOLKIT_TEST_USER_DIR: '/tmp/.vscode-test/user-data/' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} - run: npm ci @@ -195,9 +195,9 @@ jobs: VSCODE_TEST_VERSION: ${{ matrix.vscode-version }} NODE_OPTIONS: '--max-old-space-size=8192' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} - run: npm ci diff --git a/.github/workflows/notification.yml b/.github/workflows/notification.yml index 17f0327e5c1..9b64a92385b 100644 --- a/.github/workflows/notification.yml +++ b/.github/workflows/notification.yml @@ -24,16 +24,16 @@ jobs: pull-requests: write issues: read steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: github.event_name == 'pull_request_target' with: fetch-depth: 20 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 if: github.event_name == 'pull_request_target' with: node-version: '20' - name: Comment about contribution guidelines - uses: actions/github-script@v7 + uses: actions/github-script@v8 if: github.event_name == 'pull_request_target' with: script: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60863f3b5a4..d0666383f67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,11 +29,11 @@ jobs: toolkit_changes: ${{ steps.build.outputs.toolkit_changes }} amazonq_changes: ${{ steps.build.outputs.amazonq_changes }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} # - if: github.event_name == 'schedule' @@ -106,8 +106,8 @@ jobs: steps: # Must perform checkout first, it deletes the target directory # before running, thus would delete the downloaded artifacts. - - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 + - uses: actions/checkout@v5 + - uses: actions/download-artifact@v5 - name: Delete existing prerelease # "prerelease" (main branch), "pre-", or "rc-" if: env.TAG_NAME == 'prerelease' || startsWith(env.TAG_NAME, 'pre-') || startsWith(env.TAG_NAME, 'rc-') diff --git a/.github/workflows/setup-release-candidate.yml b/.github/workflows/setup-release-candidate.yml index 30e82c82433..a490b6ada84 100644 --- a/.github/workflows/setup-release-candidate.yml +++ b/.github/workflows/setup-release-candidate.yml @@ -14,14 +14,14 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ inputs.commitId }} token: ${{ secrets.GITHUB_TOKEN }} persist-credentials: true - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: '18' cache: 'npm'