Skip to content

Resolve PR #705 workflow merge conflicts and pin pnpm action to immutable v5 SHA#707

Merged
ss-o merged 3 commits into
nextfrom
copilot/create-implementation-plan-for-pr-705
Apr 29, 2026
Merged

Resolve PR #705 workflow merge conflicts and pin pnpm action to immutable v5 SHA#707
ss-o merged 3 commits into
nextfrom
copilot/create-implementation-plan-for-pr-705

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 29, 2026

This updates the PR #705 branch to absorb the latest main workflow changes without dropping the newer branch-specific workflow updates. It also removes the remaining CodeQL finding by replacing floating pnpm/action-setup tags with an immutable v5 commit pin.

  • Conflict resolution

    • Reconciles the main branch workflow changes into the PR branch in the two files that were actually blocking merge:
      • .github/workflows/ci-perf.yml
      • .github/workflows/pages-deployment.yml
    • Keeps the newer workflow structure already present on the PR branch (actions/checkout@v6, actions/setup-node@v6, added permissions, .yml deployment workflow path).
  • Workflow supply-chain hardening

    • Replaces floating pnpm/action-setup@v5 references with the immutable v5 commit:
      • .github/workflows/ci-perf.yml
      • .github/workflows/pages-deployment.yml
      • .trunk/setup-ci/action.yml
    • Aligns the shared Trunk setup action with the same pin so the branch does not reintroduce the same issue through CI setup reuse.
  • Merge normalization

    • Preserves the deployment workflow under the canonical .github/workflows/pages-deployment.yml filename while folding in the main branch’s pinned-action security fix.
- name: "📦 Setup pnpm"
  uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5

Copilot AI and others added 3 commits April 29, 2026 03:07
fix: pin pnpm action in workflows

Agent-Logs-Url: https://github.com/z-shell/wiki/sessions/bd69b14f-ad5b-4221-a431-efaef7777bf6

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ss-o <59910950+ss-o@users.noreply.github.com>
Agent-Logs-Url: https://github.com/z-shell/wiki/sessions/e6834102-e5ec-42c9-a1a7-6228d6a0f17b

Co-authored-by: ss-o <59910950+ss-o@users.noreply.github.com>
…entation-plan-for-pr-705

Co-authored-by: ss-o <59910950+ss-o@users.noreply.github.com>
@ss-o ss-o marked this pull request as ready for review April 29, 2026 04:27
Copilot AI review requested due to automatic review settings April 29, 2026 04:27
Copy link
Copy Markdown
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

This PR resolves workflow merge conflicts while hardening CI against supply-chain risks by pinning pnpm/action-setup to an immutable commit SHA across the repo’s GitHub Actions workflows and shared Trunk composite action.

Changes:

  • Pin pnpm/action-setup from the floating @v5 tag to commit fc06bc1257f339d1d5d8b3a19a8cae5388b55320 in workflows.
  • Apply the same pin in the shared .trunk/setup-ci composite action to prevent reintroducing the finding via reuse.

Reviewed changes

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

File Description
.trunk/setup-ci/action.yml Pins pnpm/action-setup to an immutable SHA in the shared CI setup action.
.github/workflows/pages-deployment.yml Pins pnpm/action-setup to an immutable SHA in the Pages deployment workflow.
.github/workflows/ci-perf.yml Pins pnpm/action-setup to an immutable SHA in both perf jobs.

@ss-o ss-o merged commit 360c5b3 into next Apr 29, 2026
10 checks passed
@ss-o ss-o deleted the copilot/create-implementation-plan-for-pr-705 branch April 29, 2026 04:31
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