Skip to content

Ensure we pass url ignore and other parameters, silently discarding now#87

Merged
nonprofittechy merged 2 commits into
mainfrom
fix/forward-da-build-url-inputs
May 7, 2026
Merged

Ensure we pass url ignore and other parameters, silently discarding now#87
nonprofittechy merged 2 commits into
mainfrom
fix/forward-da-build-url-inputs

Conversation

@nonprofittechy
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the da_build composite action to forward URL-check–related inputs (skip-url-check, skip-templates, ignore-urls) into the main python -m dayamlchecker invocation, instead of silently ignoring them in that step.

Changes:

  • Build a bash args array in the “Run YAML Checker” step based on action inputs.
  • Pass those arguments through to python -m dayamlchecker when linting */questions/*.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread da_build/action.yml Outdated
Comment on lines +58 to +60
if [ -n "${{ inputs.ignore-urls }}" ]; then
args+=(--url-check-ignore-urls "${{ inputs.ignore-urls }}")
fi
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 215bcdf. Both the "Run YAML Checker" and "Check URLs in question/template files" steps now declare SKIP_URL_CHECK, SKIP_TEMPLATES, and IGNORE_URLS under env: and reference them as $SKIP_URL_CHECK, $SKIP_TEMPLATES, and $IGNORE_URLS in the shell scripts, eliminating the direct ${{ inputs.xxx }} interpolation.

…ent command injection

Agent-Logs-Url: https://github.com/SuffolkLITLab/ALActions/sessions/78ea72fc-6e6b-408a-9683-624ed558179e

Co-authored-by: nonprofittechy <7645641+nonprofittechy@users.noreply.github.com>
@nonprofittechy nonprofittechy merged commit f808071 into main May 7, 2026
1 check passed
@nonprofittechy nonprofittechy deleted the fix/forward-da-build-url-inputs branch May 7, 2026 19:53
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.

3 participants