Skip to content

ci: harden GitHub Actions workflows#8728

Open
BleedingDev wants to merge 1 commit into
web-infra-dev:mainfrom
BleedingDev:codex/zizmor-actions-hardening-20260627
Open

ci: harden GitHub Actions workflows#8728
BleedingDev wants to merge 1 commit into
web-infra-dev:mainfrom
BleedingDev:codex/zizmor-actions-hardening-20260627

Conversation

@BleedingDev

Copy link
Copy Markdown

Summary

  • add explicit least-privilege workflow permissions
  • set checkout persist-credentials: false where jobs only need read access
  • move skip-CI output interpolation through environment variables before shell use
  • replace ad hoc global Corepack setup with the pinned pnpm/action-setup action already used by this repository

Verification

  • uvx zizmor -q --format json --no-progress --no-exit-codes --collect=workflows .github/workflows
    • before: 29 findings, H0/M18/L6/I5
    • after: 0 findings
  • /Users/satan/side/experiments/skills/actionlint/scripts/run_actionlint.sh /Users/satan/worktrees/modernjs-zizmor-actions
  • git diff --check

@changeset-bot

changeset-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6f7e2ca

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploy Preview for modernjs-byted ready!

Name Link
🔨 Latest commit 6f7e2ca
🔍 Latest deploy log https://app.netlify.com/projects/modernjs-byted/deploys/6a3f0c68b9c75e000895c306
😎 Deploy Preview https://deploy-preview-8728--modernjs-byted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97 (🔴 down 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant