Skip to content
Prev Previous commit
Next Next commit
Use CSV-separated outputs @ get-changed-files @ CI
This is necessary because paths with whitespaces tend to crash said
action[[1]][[2]][[3]]. Also, we don't need to use JSON as it's harder
to parse while the value isn't used except for the emptiness check.

The change fixes [[4]]

[1]: https://github.com/Ana06/get-changed-files#get-all-changed-files-as-space-delimited
[2]: #103914 (comment)
[3]: #103914 (comment)
[4]: #103914 (comment)
  • Loading branch information
webknjaz committed May 31, 2023
commit 9517c2171c5b4b432c055d80f8a431b713b7887e
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
Doc/**
Misc/**
.github/workflows/reusable-docs.yml
format: csv # unbreaks paths /w whitespaces; json is harder to parse
Comment thread
webknjaz marked this conversation as resolved.
Outdated
- name: Check for docs changes
if: >-
github.event_name == 'pull_request'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: Ana06/get-changed-files@v2.2.0
with:
filter: "Doc/**"
format: csv # unbreaks paths /w whitespaces; json is harder to parse
Comment thread
webknjaz marked this conversation as resolved.
Outdated
- name: 'Build changed files in nit-picky mode'
if: github.event_name == 'pull_request'
continue-on-error: true
Expand Down