Skip to content

[codex] fix(core): run actionlint from runner temp#4386

Merged
ScriptedAlchemy merged 1 commit intomainfrom
codex/actionlint-runner-temp
Feb 8, 2026
Merged

[codex] fix(core): run actionlint from runner temp#4386
ScriptedAlchemy merged 1 commit intomainfrom
codex/actionlint-runner-temp

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Member

Summary

This PR fixes the GitHub Actions actionlint job failure caused by running raven-actions/actionlint@v2 from the repository root in a workspace-based monorepo.

Problem

The action invokes npm install --no-save --ignore-scripts @actions/tool-cache@3.0.1 during setup. When executed in the repository root, npm reads the workspace manifests and fails with:

  • npm error code EUNSUPPORTEDPROTOCOL
  • npm error Unsupported URL Type "workspace:": workspace:*

As a result, the Lint GitHub Workflows workflow fails before actionlint can run.

Root Cause

The action's setup step is executed in the current working directory, which was the monorepo root containing workspace dependency declarations.

Fix

Set working-directory: ${{ runner.temp }} on the raven-actions/actionlint@v2 step in .github/workflows/actionlint.yml.

Running in the runner temp directory isolates the setup install from workspace manifests, allowing the action to complete and run actionlint normally.

Scope

This PR contains a single-line workflow change only.

Validation

  • Confirmed the failing log pattern from CI (EUNSUPPORTEDPROTOCOL / workspace:*).
  • Applied the same fix pattern already proven to resolve this failure on another branch.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 8, 2026

⚠️ No Changeset found

Latest commit: d923c13

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
Copy link
Copy Markdown

netlify bot commented Feb 8, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit d923c13
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/698809bb7a7dc70008a99d67
😎 Deploy Preview https://deploy-preview-4386--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 8, 2026

Bundle Size Report

No bundle size changes detected.

Total dist: 4.95 MB (no change)
Total ESM gzip: 154.6 kB (no change)

@ScriptedAlchemy ScriptedAlchemy merged commit 0641f99 into main Feb 8, 2026
23 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the codex/actionlint-runner-temp branch February 8, 2026 04:22
@2heal1 2heal1 mentioned this pull request Feb 12, 2026
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