Skip to content

Commit

Permalink
Don't run precommiter on main and release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
johnksv committed Jan 18, 2024
1 parent 7a30d26 commit 0c2aead
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: pre-commit
# on push, not on branch main or release-java*
on:
push:
branches:
- '*'
- '!main'
- '!release-java*'


on: push

jobs:
pre-commit:
Expand Down

0 comments on commit 0c2aead

Please sign in to comment.