File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,19 @@ jobs:
1414
1515 - name : Get Changed Files
1616 id : files
17- uses : Ana06/get- changed-files@v2.1.0
17+ uses : tj-actions/ changed-files@v34
1818 with :
19- # use JSON so we don't have to worry about filenames with spaces
20- format : ' json '
21- filter : ' .changes/*.json'
19+ separator : ' ; '
20+ files : |
21+ .changes/*.json
2222
2323 - name : Validate Changelog Files
2424 id : changelog
2525 run : |
2626 set -x
2727 set -e
28- readarray -t added_modified < <(jq -r '.[]' <<<'${{ steps.files.outputs.added_modified }}')
29- readarray -t removed < <(jq -r '.[]' <<<'${{ steps.files.outputs.removed }}')
28+ readarray -d ';' -t added_modified <<< '${{ steps.files.outputs.all_changed_files }}'
29+ readarray -d ';' -t removed <<< '${{ steps.files.outputs.deleted_files }}'
3030 added_count=${#added_modified[@]}
3131 removed_count=${#removed[@]}
3232 if ${{ !contains(github.event.pull_request.labels.*.name, 'no changelog' ) }}; then
You can’t perform that action at this time.
0 commit comments