We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cc24ca commit a962a84Copy full SHA for a962a84
1 file changed
da_build/action.yml
@@ -45,7 +45,21 @@ runs:
45
run: |
46
# necessary because dayamlchecker.check_questions_urls isn't a binary.
47
source $(uv tool dir)/dayamlchecker/bin/activate
48
- find . -name "*.yml" -path "*/questions/*" -print0 | xargs -0 python -m dayamlchecker
+
49
+ args=()
50
+ if [ "${{ inputs.skip-url-check }}" = "true" ]; then
51
+ args+=(--no-url-check)
52
+ fi
53
54
+ if [ "${{ inputs.skip-templates }}" = "true" ]; then
55
+ args+=(--url-check-skip-templates)
56
57
58
+ if [ -n "${{ inputs.ignore-urls }}" ]; then
59
+ args+=(--url-check-ignore-urls "${{ inputs.ignore-urls }}")
60
61
62
+ find . -name "*.yml" -path "*/questions/*" -print0 | xargs -0 python -m dayamlchecker "${args[@]}"
63
shell: bash
64
65
- name: Check URLs in question/template files
0 commit comments