Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ jobs:
# the release the Justfile's oras_image names, by URL and checksum.
- name: Set up oras
if: steps.taggable.outputs.publish == 'true'
uses: oras-project/setup-oras@5e2f2482b30b0cb3e14e67f89a80c88c659a7c63 # v2.0.3
uses: oras-project/setup-oras@ac735097e22fe643015b0d19645f7c9a69942128 # v2.0.4
with:
url: https://github.com/oras-project/oras/releases/download/v1.3.6/oras_1.3.6_linux_amd64.tar.gz
checksum: 66fb0ad7206f3f6fa77ed5b552049d364ccf4b50b1684554f731f76302b52ca0
Expand Down Expand Up @@ -818,7 +818,7 @@ jobs:
# setup-oras v2.0.1's built-in release table stops at ORAS 1.3.3, so pin
# the release the Justfile's oras_image names, by URL and checksum.
- name: Set up oras
uses: oras-project/setup-oras@5e2f2482b30b0cb3e14e67f89a80c88c659a7c63 # v2.0.3
uses: oras-project/setup-oras@ac735097e22fe643015b0d19645f7c9a69942128 # v2.0.4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI (security, info): v2.0.4 adds a token input that defaults to github.token (upstream action.yml). src/setup.ts sends it as auth only when the download host is github.com, and masks it with core.setSecret. This job runs on pull requests (it checks out the PR head at :801-805), but the token is read-only for fork PRs and goes only to github.com. No change needed. If you want the download to send no login at all, add token: '' under with:. The same applies to the release job at line 727.

with:
url: https://github.com/oras-project/oras/releases/download/v1.3.6/oras_1.3.6_linux_amd64.tar.gz
checksum: 66fb0ad7206f3f6fa77ed5b552049d364ccf4b50b1684554f731f76302b52ca0
Expand Down
Loading