Skip to content

Commit

Permalink
chore(actions): fetch all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
vinchona committed Aug 29, 2023
1 parent e14864d commit be582df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pre-commit/action@v3.0.0
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
- id: committed
name: committed on current branch commits
stages: [commit]
args: [origin/main..HEAD]
args: [remotes/origin/main..HEAD]
pass_filenames: false
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
Expand Down

0 comments on commit be582df

Please sign in to comment.