diff --git a/.github/actions/check-merge-queue-changelogs/action.yml b/.github/actions/check-merge-queue-changelogs/action.yml index 782f4aab3..f15aad946 100644 --- a/.github/actions/check-merge-queue-changelogs/action.yml +++ b/.github/actions/check-merge-queue-changelogs/action.yml @@ -12,13 +12,13 @@ runs: using: composite steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Get pull request number id: pr-number - uses: actions/github-script@v8 + uses: actions/github-script@v9 env: HEAD_REF: ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }} with: diff --git a/.github/actions/check-release/action.yml b/.github/actions/check-release/action.yml index 186eaa758..cb85f57d5 100644 --- a/.github/actions/check-release/action.yml +++ b/.github/actions/check-release/action.yml @@ -10,7 +10,7 @@ runs: using: composite steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -185,7 +185,7 @@ runs: - name: Hide previous comments if: steps.is-release.outputs.IS_RELEASE == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 env: PR_NUMBER: ${{ steps.pr-number.outputs.PR_NUMBER }} with: @@ -215,7 +215,7 @@ runs: - name: Reply on pull request if: steps.check-release.outputs.has-conflicts == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@v9 env: PACKAGE_NAMES: ${{ steps.check-release.outputs.package-names }} PR_NUMBER: ${{ steps.pr-number.outputs.PR_NUMBER }} diff --git a/.github/workflows/ensure-blocking-pr-labels-absent.yml b/.github/workflows/ensure-blocking-pr-labels-absent.yml index 5e0c0b68d..d3bceb3ee 100644 --- a/.github/workflows/ensure-blocking-pr-labels-absent.yml +++ b/.github/workflows/ensure-blocking-pr-labels-absent.yml @@ -20,7 +20,7 @@ jobs: with: is-high-risk-environment: false - name: Run command - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | if (context.payload.pull_request.labels.some((label) => label.name === 'DO-NOT-MERGE')) { diff --git a/.github/workflows/lint-build-test.yml b/.github/workflows/lint-build-test.yml index f03e8fe28..b2297d892 100644 --- a/.github/workflows/lint-build-test.yml +++ b/.github/workflows/lint-build-test.yml @@ -130,7 +130,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Validate changelog diffs uses: ./.github/actions/check-merge-queue-changelogs @@ -156,7 +156,7 @@ jobs: exit 1 fi - name: Upload build artifacts - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 + uses: actions/upload-artifact@v7 with: name: package-dist-${{ github.sha }} # Glob discards the path before the first wildcard (`packages/`), so @@ -202,7 +202,7 @@ jobs: is-high-risk-environment: false node-version: ${{ matrix.node-version }} - name: Restore build artifacts - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 + uses: actions/download-artifact@v8 with: name: package-dist-${{ github.sha }} path: packages diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index af15dd0fc..e0e6b656f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: if: github.event_name != 'merge_group' || needs.check-skip-merge-queue.outputs.skip-merge-queue != 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - name: Download actionlint id: download-actionlint run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/914e7df21a07ef503a81201c76d2b11c789d3fca/scripts/download-actionlint.bash) 1.7.12 @@ -94,7 +94,7 @@ jobs: pull-requests: write steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Check release if: github.event_name != 'push' uses: ./.github/actions/check-release diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 810ebfa3d..8591f13ca 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -98,7 +98,7 @@ jobs: RPC_WEB_SOCKET_URL_LOCALNET: ${{ vars.RPC_WEB_SOCKET_URL_LOCALNET }} EXPLORER_BASE_URL: ${{ vars.EXPLORER_BASE_URL }} - name: Upload build artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: publish-release-artifacts-${{ github.sha }} include-hidden-files: true @@ -118,7 +118,7 @@ jobs: is-high-risk-environment: true ref: ${{ github.sha }} - name: Restore build artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 with: name: publish-release-artifacts-${{ github.sha }} - name: Dry run publish to NPM @@ -142,7 +142,7 @@ jobs: is-high-risk-environment: true ref: ${{ github.sha }} - name: Restore build artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 with: name: publish-release-artifacts-${{ github.sha }} - name: Publish to NPM diff --git a/.github/workflows/update-changelogs.yml b/.github/workflows/update-changelogs.yml index 5cdee8788..d5bbc84cb 100644 --- a/.github/workflows/update-changelogs.yml +++ b/.github/workflows/update-changelogs.yml @@ -58,7 +58,7 @@ jobs: >> "$GITHUB_OUTPUT" - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 @@ -103,7 +103,7 @@ jobs: contents: write pull_requests: write - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: React to the comment run: | gh api \ @@ -136,7 +136,7 @@ jobs: pull_requests: write - name: Check out the base branch - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ needs.is-release.outputs.merge-base }} token: ${{ steps.get-token.outputs.token }}