Skip to content

Rename jq GitHub workflow-command module - #1135

Draft
phlax with Copilot wants to merge 4 commits into
bazel-jqfrom
copilot/bazel-jq
Draft

phlax with Copilot wants to merge 4 commits into
bazel-jqfrom
copilot/bazel-jq

Conversation

Copilot AI commented Sep 8, 2026 •

Copy link
Copy Markdown

jq rejects import paths with consecutive identical components, so import "github/github" broke every actions/jq invocation after the module moved under jq/github/. The workflow-command helpers are now exposed as github/actions while keeping the public github alias for existing callers.

  • Module rename

    • Renamed jq/github/github.jq to jq/github/actions.jq
    • Left module contents unchanged
  • Import updates

    • Updated the JS action filter prelude and expectations from github/github to github/actions
    • Rebuilt the committed js/jq/dist/index.js bundle
    • Updated Bazel and README examples
  • Coverage and docs

    • Added a fixture for github/actions::log_bubble
    • Documented that scoped jq modules must not share their basename with the scope directory
import "github/actions" as github;

github::log_bubble($matching)

phlax and others added 2 commits September 8, 2026 12:09
Signed-off-by: Ryan Northey <ryan@synca.io>
Copilot AI and others added 2 commits September 8, 2026 11:28
Signed-off-by: Copilot <copilot@github.com>

Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Signed-off-by: Copilot <copilot@github.com>

Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix module path for GitHub Actions workflow commands Rename jq GitHub workflow-command module Sep 8, 2026
Copilot AI requested a review from phlax September 8, 2026 11:40
@phlax
phlax force-pushed the bazel-jq branch 2 times, most recently from 4709a34 to 263fe03 Compare September 8, 2026 14:23
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.

2 participants