Skip to content

Commit f8922b3

Browse files
committed
Only bump versions for default branch
1 parent 5a32656 commit f8922b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Checkout for pushing to protected branch
4040
uses: actions/checkout@v4
4141
id: checkout-protected
42-
if: github.event_name == 'push' || contains(github.actor, 'Garner')
42+
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
4343
with:
4444
ssh-key: "${{ secrets.CHECK_SPELLING }}"
4545

0 commit comments

Comments
 (0)