Fix github actions to pass unquoted paths

This commit is contained in:
Pedro Algarvio 2020-12-03 09:31:30 +00:00
parent 2d3d26a6cd
commit 8f88056025
2 changed files with 6 additions and 6 deletions

View file

@ -33,7 +33,7 @@ jobs:
uses: dorny/paths-filter@v2
with:
token: ${{ github.token }}
list-files: shell
list-files: json
filters: |
docs:
- docs/**
@ -86,7 +86,7 @@ jobs:
uses: dorny/paths-filter@v2
with:
token: ${{ github.token }}
list-files: shell
list-files: json
filters: |
docs:
- docs/**

View file

@ -42,7 +42,7 @@ jobs:
uses: dorny/paths-filter@v2
with:
token: ${{ github.token }}
list-files: shell
list-files: json
filters: |
salt:
- added|modified:
@ -62,7 +62,7 @@ jobs:
env:
SKIP_REQUIREMENTS_INSTALL: YES
run: |
nox --forcecolor -e lint-salt -- ${{ steps.changed-files.outputs.salt_files }}
nox --forcecolor -e lint-salt -- ${{ join(fromJSON(steps.changed-files.outputs.salt_files), ' ') }}
- name: Lint ALL Files
if: steps.changed-files.outputs.salt == 'true'
@ -110,7 +110,7 @@ jobs:
uses: dorny/paths-filter@v2
with:
token: ${{ github.token }}
list-files: shell
list-files: json
filters: |
tests:
- added|modified:
@ -127,7 +127,7 @@ jobs:
env:
SKIP_REQUIREMENTS_INSTALL: YES
run: |
nox --forcecolor -e lint-tests -- ${{ steps.changed-files.outputs.tests_files }}
nox --forcecolor -e lint-tests -- ${{ join(fromJSON(steps.changed-files.outputs.tests_files), ' ') }}
- name: Lint ALL Files
if: steps.changed-files.outputs.tests == 'true'