From 950577968cfc6abccedd1147875c8e557f37278f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 13:03:44 +0000 Subject: [PATCH 1/2] chore(deps): bump the actions group with 7 updates Bumps the actions group with 7 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4` | `7` | | [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) | `3` | `5` | | [actions/deploy-pages](https://github.com/actions/deploy-pages) | `4` | `5` | | [actions/github-script](https://github.com/actions/github-script) | `7` | `9` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4` | `7` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `4` | `8` | | [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `2` | `3` | Updates `actions/checkout` from 4 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v7) Updates `actions/upload-pages-artifact` from 3 to 5 - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v5) Updates `actions/deploy-pages` from 4 to 5 - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/v4...v5) Updates `actions/github-script` from 7 to 9 - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v7...v9) Updates `actions/upload-artifact` from 4 to 7 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v7) Updates `actions/download-artifact` from 4 to 8 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4...v8) Updates `softprops/action-gh-release` from 2 to 3 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/upload-pages-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/deploy-pages dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/github-script dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy-pages.yml | 6 +++--- .github/workflows/ocr-review.yml | 4 ++-- .github/workflows/release.yml | 14 +++++++------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a36405c2..ca687ccb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: container: image: golang:1.26.4 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global safe.directory '*' diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 14e78220..4e4c0d5b 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -22,7 +22,7 @@ jobs: container: image: node:20 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global safe.directory '*' @@ -41,7 +41,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 @@ -56,4 +56,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 4ffcc22d..16071e6f 100644 --- a/.github/workflows/ocr-review.yml +++ b/.github/workflows/ocr-review.yml @@ -67,7 +67,7 @@ jobs: if: github.event_name == 'pull_request_target' steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 # Full history needed for merge-base diff ref: ${{ github.event.pull_request.head.sha }} @@ -111,7 +111,7 @@ jobs: cat /tmp/ocr-stderr.log - name: Post review comments to PR - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d75b028f..f7c8ae02 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - goos: windows goarch: arm64 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global safe.directory '*' @@ -50,7 +50,7 @@ jobs: go build -ldflags "${LD_FLAGS}" -o "${BIN_NAME}" ./cmd/opencodereview echo "bin_name=${BIN_NAME}" >> $GITHUB_ENV - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: binary-${{ matrix.goos }}-${{ matrix.goarch }} path: ${{ env.bin_name }} @@ -64,7 +64,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 @@ -129,7 +129,7 @@ jobs: echo "RELEASE_NOTES_EOF" } >> "$GITHUB_OUTPUT" - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: pattern: binary-* merge-multiple: true @@ -138,7 +138,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: | @@ -153,7 +153,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Trust workspace run: git config --global safe.directory '*' @@ -161,7 +161,7 @@ jobs: - name: Install jq run: apt-get update && apt-get install -y jq - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: pattern: binary-* merge-multiple: true From a12a7b67b84316ed6cdd2e22cb4f9d245827b578 Mon Sep 17 00:00:00 2001 From: kite Date: Sat, 27 Jun 2026 18:05:55 +0800 Subject: [PATCH 2/2] fix: keep actions/checkout@v4 in ocr-review.yml actions/checkout@v7 blocks fork PR checkout under pull_request_target, which breaks the core fork PR auto-review functionality. --- .github/workflows/ocr-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ocr-review.yml b/.github/workflows/ocr-review.yml index 16071e6f..6134573c 100644 --- a/.github/workflows/ocr-review.yml +++ b/.github/workflows/ocr-review.yml @@ -67,7 +67,7 @@ jobs: if: github.event_name == 'pull_request_target' steps: - name: Checkout repository - uses: actions/checkout@v7 + uses: actions/checkout@v4 with: fetch-depth: 0 # Full history needed for merge-base diff ref: ${{ github.event.pull_request.head.sha }}