Skip to content

Commit 64b26bf

Browse files
authored
fix precommit workflow (#2416)
1 parent c9964d9 commit 64b26bf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci-pre-commit.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Pre-commit checks
22

33
on:
44
pull_request:
5+
branches: "**"
56
push:
67
branches: [main]
78

@@ -36,9 +37,9 @@ jobs:
3637
pythnet/message_buffer
3738
pythnet/pythnet_sdk
3839
pythnet/stake_caps_parameters
39-
# We only save the cache from runs on `main` because the cache is ~5GB, and the total Github Cache limit is 10GB.
40-
# Branches have their own caches, so saving this cache on PRs can result in evicting the main cache.
41-
save-if: ${{ github.ref == 'refs/heads/main' }}
40+
# We only save the cache from runs on `main` because the cache is ~5GB, and the total Github Cache limit is 10GB.
41+
# Branches have their own caches, so saving this cache on PRs can result in evicting the main cache.
42+
save-if: ${{ github.ref == 'refs/heads/main' }}
4243
- name: Install protoc
4344
uses: arduino/setup-protoc@v3
4445
with:

0 commit comments

Comments
 (0)