Skip to content

Commit

Permalink
Fix wrong fetch depth for checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Dec 6, 2023
1 parent cdf3473 commit 1745160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
steps:
- name: 'Checkout PR branch'
uses: actions/checkout@v4
with:
fetch-depth: 2 # to also fetch parent of PR

# see notes above (in rubocop job)
- name: Get changed files
Expand Down

0 comments on commit 1745160

Please sign in to comment.