We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce0f11c commit 6669865Copy full SHA for 6669865
1 file changed
.github/workflows/xmllinter.yml
@@ -47,6 +47,13 @@ jobs:
47
id: find-xml
48
run: |
49
FILES=`find . -type f -iname "*.xml"`
50
+ for item in ${FILES}[@]; do
51
+ if [ ${{ contains(fromJSON(steps.read-json.outputs.config).ignore, item) }} -eq "true"]; then
52
+ echo "Skip"
53
+ else
54
+ echo "${item}"
55
+ fi
56
+ done
57
#if [[ "${FILES}" != "" ]]; then
58
# JSON=`printf '%s\n' "${FILES[@]}" | jq -R . | jq -s .`
59
# echo "files=${JSON}" >> $GITHUB_OUTPUT
@@ -60,7 +67,8 @@ jobs:
60
67
61
68
- name: Lint XML
62
69
63
- for item in "${{ steps.find-xml.outputs.files }}[@]"; do
70
+ FILES=${{ steps.read-json.outputs.files }}
71
64
72
echo "${item}"
65
73
done
66
74
#echo ${{ contains(fromJSON(steps.read-json.outputs.config).ignore, 'bullshit') }}
0 commit comments