diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58764df6..e62ca96e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: container: image: golang:1.26.5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global --replace-all safe.directory '*' @@ -84,7 +84,7 @@ jobs: - {goos: windows, goarch: amd64} - {goos: windows, goarch: arm64} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global --replace-all safe.directory '*' diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index e9b2f5a0..687b59b1 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -23,7 +23,7 @@ jobs: container: image: node:24 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global --replace-all safe.directory '*' @@ -42,7 +42,7 @@ jobs: cp -r pages/dist/* _site/ cp pages/logo.svg _site/logo.svg - - uses: actions/upload-pages-artifact@v3 + - uses: actions/upload-pages-artifact@v5 with: path: _site @@ -58,4 +58,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/.github/workflows/ocr-review.yml b/.github/workflows/ocr-review.yml index 1bb87752..4a6c55e2 100644 --- a/.github/workflows/ocr-review.yml +++ b/.github/workflows/ocr-review.yml @@ -45,7 +45,7 @@ jobs: # pull_request_target this checks out the trusted base branch; the # composite action performs its own full checkout (fetch-depth: 0) later. - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Trust workspace run: git config --global --replace-all safe.directory '*' diff --git a/.github/workflows/pages-ci.yml b/.github/workflows/pages-ci.yml index 7bdb6853..bdc19ad5 100644 --- a/.github/workflows/pages-ci.yml +++ b/.github/workflows/pages-ci.yml @@ -20,7 +20,7 @@ jobs: container: image: node:24 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global --replace-all safe.directory '*' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d921d18..70855c32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - goos: windows goarch: arm64 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global --replace-all safe.directory '*' @@ -70,7 +70,7 @@ jobs: - name: Install git run: apt-get update && apt-get install -y git - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 @@ -144,7 +144,7 @@ jobs: run: sha256sum opencodereview-* | sort > sha256sum.txt - name: Create GitHub Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: body: ${{ steps.notes.outputs.body }} files: | @@ -152,7 +152,7 @@ jobs: sha256sum.txt - name: Attest release artifacts - uses: actions/attest-build-provenance@v2 + uses: actions/attest-build-provenance@v4 with: subject-path: | opencodereview-* @@ -167,7 +167,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global --replace-all safe.directory '*' diff --git a/.github/workflows/vscode-ext.yml b/.github/workflows/vscode-ext.yml index 419c2d5b..4533a4f0 100644 --- a/.github/workflows/vscode-ext.yml +++ b/.github/workflows/vscode-ext.yml @@ -23,14 +23,14 @@ jobs: run: working-directory: extensions/vscode steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global --replace-all safe.directory '*' working-directory: . - name: Cache Yarn packages - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/.cache/yarn key: ${{ runner.os }}-yarn-${{ hashFiles('extensions/vscode/yarn.lock') }} diff --git a/action.yml b/action.yml index 203b2e22..a03b7296 100644 --- a/action.yml +++ b/action.yml @@ -160,7 +160,7 @@ runs: - name: Setup Node.js if: steps.check_deps.outputs.node_installed != 'true' - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: ${{ inputs.node_version }} @@ -180,7 +180,7 @@ runs: echo "PR head sha: $HEAD_SHA" - name: Checkout base - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: # Checkout the trusted base, not the PR head. OCR reviews the # base-to-head diff from git objects; the head commit's blobs are @@ -272,7 +272,7 @@ runs: - name: Post review comments if: env.OCR_EXIT_CODE == '0' id: post - uses: actions/github-script@v7 + uses: actions/github-script@v9 env: OCR_INCREMENTAL_OVERLAP_THRESHOLD: ${{ inputs.incremental_overlap_threshold }} with: