Skip to content

Commit

Permalink
exclude target from find all
Browse files Browse the repository at this point in the history
Signed-off-by: muraca <[email protected]>
  • Loading branch information
muraca committed Oct 3, 2023
1 parent 272b1f5 commit d7bdd12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ runs:
- if: ${{ inputs.all }}
name: "Running TOML Sort check on all TOML files starting from current directory"
shell: "bash"
run: find . -name "*.toml" | xargs -L1 toml-sort --check
run: find . -name "*.toml" -not -path "./target/*" | xargs -L1 toml-sort --check
- if: ${{ !inputs.all }}
name: "Running TOML Sort check on given files"
shell: "bash"
run: toml-sort --check {{ inputs.files }}


0 comments on commit d7bdd12

Please sign in to comment.