-
Notifications
You must be signed in to change notification settings - Fork 613
chore(deps): bump the actions group with 7 updates #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ jobs: | |
| container: | ||
| image: node:20 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@v7 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Potential issue: Verify action version exists. The version has been bumped from |
||
|
|
||
| - 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 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Potentially non-existent action version: |
||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| script: | | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Security: Third-party action should be pinned to a commit SHA.
Consider pinning to a specific commit SHA, e.g.: uses: softprops/action-gh-release@<full-commit-sha> # v3You can add a comment with the version tag for readability. |
||
| with: | ||
| body: ${{ steps.notes.outputs.body }} | ||
| files: | | ||
|
|
@@ -153,15 +153,15 @@ jobs: | |
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@v7 | ||
|
|
||
| - name: Trust workspace | ||
| run: git config --global safe.directory '*' | ||
|
|
||
| - 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 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potential issue:
actions/checkout@v7may not exist. As of the latest known releases,actions/checkout@v4is the latest stable major version. Jumping from v4 directly to v7 (skipping v5 and v6) is unusual. If this tag does not exist on theactions/checkoutrepository, all CI jobs will fail immediately at the checkout step.Please verify that
actions/checkout@v7has actually been released before merging. You can check at https://github.com/actions/checkout/releases.