Skip to content

Commit

Permalink
Bugfix: Fetch depth
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdguy committed Feb 24, 2022
1 parent 2d591fb commit a479ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0 # This is needed if you set `only-changed-files` to true
# 0 fetch-depth is needed if you set `only-changed-files` to true
# and if you are configuring this check to run on push events
fetch-depth: 0

- name: Produce the presidio report
uses: insightsengineering/presidio-action@v1
Expand Down
1 change: 1 addition & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ runs:

- name: Get changed files
id: changed-files
if: contains(inputs.only-changed-files, 'true')
uses: tj-actions/changed-files@v17

- name: Install en language models
Expand Down

0 comments on commit a479ef3

Please sign in to comment.