mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix github actions to pass unquoted paths
This commit is contained in:
parent
2d3d26a6cd
commit
8f88056025
2 changed files with 6 additions and 6 deletions
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
|
@ -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/**
|
||||
|
|
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue