Skip to content

chore: pin actions/checkout to SHA 0c366fd6a839edf440554fa01a7085ccba70ac98#17

Merged
pelikhan merged 2 commits intomainfrom
copilot/update-actions-checkout-sha
Mar 11, 2026
Merged

chore: pin actions/checkout to SHA 0c366fd6a839edf440554fa01a7085ccba70ac98#17
pelikhan merged 2 commits intomainfrom
copilot/update-actions-checkout-sha

Conversation

Copy link
Contributor

Copilot AI commented Mar 11, 2026

Pins actions/checkout to SHA 0c366fd6a839edf440554fa01a7085ccba70ac98 across all workflow files.

Changes

  • .github/workflows/ci.yml — updated 1 reference
  • .github/workflows/sync-actions.yml — updated 2 references

Copilot AI and others added 2 commits March 11, 2026 14:54
…cba70ac98

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review March 11, 2026 14:57
Copilot AI review requested due to automatic review settings March 11, 2026 14:57
@pelikhan pelikhan merged commit 1867697 into main Mar 11, 2026
3 checks passed
@pelikhan pelikhan deleted the copilot/update-actions-checkout-sha branch March 11, 2026 14:57
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v4.2.2
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Pins actions/checkout to a specific commit SHA across GitHub Actions workflows to ensure deterministic and supply-chain-safe action resolution.

Changes:

  • Updated actions/checkout references to 0c366fd6a839edf440554fa01a7085ccba70ac98 in CI workflow
  • Updated two actions/checkout references to the same SHA in the sync workflow

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/ci.yml Pins the CI checkout step to the new actions/checkout SHA
.github/workflows/sync-actions.yml Pins both checkout steps used during sync to the new actions/checkout SHA
Comments suppressed due to low confidence (1)

.github/workflows/sync-actions.yml:202

  • The pinned SHA was changed but the inline comment still says # v4.2.2. Please confirm 0c366fd6… corresponds to v4.2.2, or update the comment to the correct action version/tag so future reviewers don’t assume the wrong release is in use.
        uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v4.2.2

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v4.2.2
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The inline version comment (# v4.2.2) no longer matches the previously used pinned SHA for v4.2.2 in this repo. Please verify that 0c366fd6… is actually the v4.2.2 commit, or update the comment to the correct version/tag to avoid confusion during future security audits.

Copilot uses AI. Check for mistakes.

- name: Checkout gh-aw-actions (this repository)
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v4.2.2
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The pinned SHA was changed but the inline comment still says # v4.2.2. Please confirm 0c366fd6… corresponds to v4.2.2, or update the comment to the correct action version/tag so future reviewers don’t assume the wrong release is in use.

This issue also appears on line 202 of the same file.

See below for a potential fix:

        uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # actions/checkout pinned commit SHA
        with:
          ref: main
          token: ${{ secrets.GITHUB_TOKEN }}
          path: gh-aw-actions

      - name: Checkout gh-aw at resolved ref (actions/ only)
        uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # actions/checkout pinned commit SHA

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants