Skip to content

Fix workflow-lint CI failure from invalid temp workflow and shell argument expansion - #272

Draft
eval-exec with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-github-actions-workflow-lint
Draft

Fix workflow-lint CI failure from invalid temp workflow and shell argument expansion#272
eval-exec with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-github-actions-workflow-lint

Conversation

Copilot AI commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The GitHub Actions workflow lint job failed due to two workflow-shell issues: a broken quoted script in a temporary workflow file and unsafe unquoted expansion of LIBTEST_ARGS in ci.yml.

  • Workflow cleanup

    • Removed .github/workflows/tmp_mac_test.yml, which contained a malformed multi-line run script that ShellCheck could not parse.
  • Shell-safe argument handling in CI

    • Updated .github/workflows/ci.yml to parse optional LIBTEST_ARGS into a bash array and pass it with quoted array expansion, avoiding SC2086 while preserving multi-arg behavior.
    if [ -n "${LIBTEST_ARGS:-}" ]; then
      IFS=' ' read -r -a libtest_args <<< "${LIBTEST_ARGS}"
    else
      libtest_args=()
    fi
    
    cargo nextest run ... -- "${libtest_args[@]}"

Copilot AI and others added 2 commits August 20, 2026 15:36
Co-authored-by: eval-exec <46400566+eval-exec@users.noreply.github.com>
Co-authored-by: eval-exec <46400566+eval-exec@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'GitHub Actions workflow lint' Fix workflow-lint CI failure from invalid temp workflow and shell argument expansion Aug 20, 2026
Copilot AI requested a review from eval-exec August 20, 2026 15:39
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