Skip to content

fix(ci): restore the env block of the agent-skills Create Import Config step - #2520

Merged
muscariello merged 1 commit into
mainfrom
fix/import-records-workflow
Nov 19, 2026
Merged

muscariello merged 1 commit into
mainfrom
fix/import-records-workflow

Conversation

@muscariello

Copy link
Copy Markdown
Member

.github/workflows/import-records.yaml hasn't been a valid workflow since #2297 (2026-10-08). That PR replaced DIRCTL_PATH with DIR_MCP_PATH in both import jobs. In import-agent-skills it also deleted the env: key of the "Create Import Config" step, which left DIR_MCP_PATH and AUTHORS_JSON directly under - name::

      - name: Create Import Config
          DIR_MCP_PATH: ${{ steps.setup-dir-mcp.outputs.dir_mcp_path }}   # "mapping values are not allowed in this context"
          AUTHORS_JSON: ${{ toJSON(matrix.entry.authors) }}

This PR restores the env: line, so the step matches its twin in import-mcp.

What this broke

Verification

  • actionlint now parses the file. Its only findings are existing shellcheck style notes (SC2086/SC2129) on other lines; no CI job runs actionlint.
  • yq reads the step's env as DIR_MCP_PATH and AUTHORS_JSON, the same as before refactor(dirctl): remove mcp server and fix import #2297, apart from the rename.
  • Pushing this branch started only Buf CI and recorded no failed import-records run, so GitHub parses the file again.
  • I didn't dispatch the workflow from this branch, because it performs a real import. After merge, the next scheduled run is Monday 00:00 UTC, or you can dispatch it from main to catch up.

…ig step

Signed-off-by: Luca Muscariello <[email protected]>

#2297 replaced DIRCTL_PATH with DIR_MCP_PATH in both import jobs, and in import-agent-skills it also dropped the step's 'env:' key. The step's variables then sat directly under '- name:', which is not valid YAML, so GitHub could not parse import-records.yaml at all. Since 2026-10-08 every push has recorded a failed run ('invalid workflow file'), and the weekly scheduled import has not run; the last successful one was on 2026-10-05.
@muscariello
muscariello requested a review from a team as a code owner November 19, 2026 18:49
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Nov 19, 2026
@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@muscariello
muscariello added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit ce11c50 Nov 19, 2026
35 checks passed
@muscariello
muscariello deleted the fix/import-records-workflow branch November 19, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants