Skip to content

Commit a1109df

Browse files
committed
bump
1 parent 3ba12a7 commit a1109df

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/xmllinter.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,16 @@ jobs:
4242
echo "config<<EOF" >> $GITHUB_OUTPUT
4343
cat ${{ inputs.config_file }} >> $GITHUB_OUTPUT
4444
echo "EOF" >> $GITHUB_OUTPUT
45-
46-
IGNORE=`echo '${{ toJSON(fromJSON(steps.read-json.outputs.config).ignore) }}' | jq -c '.'`
47-
echo "ignore=${IGNORE}" >> $GITHUB_OUTPUT
4845
else
4946
echo "config={}" >> $GITHUB_OUTPUT
5047
fi
5148
49+
- name: Substract ignore-list from config
50+
id: read-ignore
51+
run: |
52+
IGNORE=`echo '${{ toJSON(fromJSON(steps.read-json.outputs.config).ignore) }}' | jq -c '.'`
53+
echo "ignore=${IGNORE}" >> $GITHUB_OUTPUT
54+
5255
- name: Find all XML-files in this repository
5356
id: find-xml
5457
run: |
@@ -60,7 +63,7 @@ jobs:
6063
run: |
6164
6265
echo '${{ steps.find-xml.outputs.filelist }}' | jq -c '.[]' | while read i; do
63-
echo jq --null-input '${{ steps.find-xml.outputs.filelist }} - ${{ steps.read-json.outputs.ignore }}'
66+
echo jq --null-input '${{ steps.find-xml.outputs.filelist }} - ${{ steps.read-ignore.outputs.ignore }}'
6467
6568
if [ "${{ contains(fromJSON(steps.read-json.outputs.config).ignore, './phpcs.xml') }}" = "true" ]; then
6669
echo "Skipping ${i}"

0 commit comments

Comments
 (0)