Skip to content

Commit

Permalink
catch error when there are zero changed files
Browse files Browse the repository at this point in the history
Spotted in review by Ewan. Solution from dorny/paths-filter#66 (comment)
  • Loading branch information
egpbos committed Oct 2, 2024
1 parent f2b5aca commit 4a287c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/link-checker-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
linkChecker:
runs-on: ubuntu-latest
needs: changedFiles
if: ${{ needs.changedFiles.outputs.files != '' && toJSON(fromJSON(needs.changedFiles.outputs.files)) != '[]' }}
strategy:
matrix:
file: ${{ fromJSON(needs.changedFiles.outputs.files) }}
Expand Down

0 comments on commit 4a287c9

Please sign in to comment.