[codex] fix(core): run actionlint from runner temp#4386
Merged
ScriptedAlchemy merged 1 commit intomainfrom Feb 8, 2026
Merged
Conversation
|
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Bundle Size ReportNo bundle size changes detected. Total dist: 4.95 MB (no change) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes the GitHub Actions
actionlintjob failure caused by runningraven-actions/actionlint@v2from the repository root in a workspace-based monorepo.Problem
The action invokes
npm install --no-save --ignore-scripts @actions/tool-cache@3.0.1during setup. When executed in the repository root, npm reads the workspace manifests and fails with:npm error code EUNSUPPORTEDPROTOCOLnpm error Unsupported URL Type "workspace:": workspace:*As a result, the
Lint GitHub Workflowsworkflow fails beforeactionlintcan 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 theraven-actions/actionlint@v2step 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
actionlintnormally.Scope
This PR contains a single-line workflow change only.
Validation
EUNSUPPORTEDPROTOCOL/workspace:*).