Skip to content

Commit 1d308c5

Browse files
committed
f
1 parent 5e22eb0 commit 1d308c5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,14 @@ jobs:
505505
codecov-token: ${{ secrets.CODECOV_TOKEN }}
506506

507507
check: # This job does nothing and is only used for the branch protection
508-
if: always()
508+
if: >-
509+
always() && (
510+
github.repository != 'antonbabenko/pre-commit-terraform'
511+
|| github.event_name != 'push'
512+
|| github.ref == 'refs/heads/master'
513+
)
509514
510515
needs:
511-
- pre-setup
512516
- lint
513517
- tests
514518

0 commit comments

Comments
 (0)