Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Pin checkout to a commit SHA for supply‑chain hardening.

Pinning avoids tag move risk and is GitHub’s recommended practice. Proposed change: (docs.github.com)

-            - uses: actions/checkout@v5
+            - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- uses: actions/checkout@v5
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
🤖 Prompt for AI Agents
.github/workflows/main.yml around line 16: the checkout action is referenced by
tag (actions/checkout@v5) which can be moved; pin it to a specific commit SHA
instead. Replace the tag reference with the corresponding commit SHA for the
desired release (find the commit SHA from the actions/checkout GitHub repo
releases/tags) and update the workflow to use uses:
actions/checkout@<commit-sha>; commit the change and verify the workflow runs
successfully.


- uses: pnpm/action-setup@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Also pin to the exact commit for checkout.

Apply the same SHA pinning here: (docs.github.com)

-            - uses: actions/checkout@v5
+            - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- uses: actions/checkout@v5
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
🤖 Prompt for AI Agents
.github/workflows/pull-request.yml around line 16: the workflow currently
references actions/checkout@v5 which is a floating tag; update it to pin the
action to the exact commit SHA of the v5 release (replace the tag with uses:
actions/checkout@<COMMIT_SHA>) so the workflow uses a fixed immutable
revision—fetch the official v5 release commit SHA from the actions/checkout
repository and update the workflow file accordingly, committing the change.

if: ${{ env.VERCEL_TOKEN && env.VERCEL_ORG_ID && env.VERCEL_PROJECT_ID }}

- name: Deploy to Vercel
Expand Down
Loading