Skip to content

Commit 582deea

Browse files
Apply suggestions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <webknjaz@redhat.com>
1 parent 1d308c5 commit 582deea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ jobs:
8787
# Prevent run 'push' events for the branches in upstream repository as it
8888
# already covered by 'pull_request' event
8989
if: >-
90-
github.repository != 'antonbabenko/pre-commit-terraform'
90+
github.repository_id != env.UPSTREAM_REPOSITORY_ID
9191
|| github.event_name != 'push'
92-
|| github.ref == 'refs/heads/master'
92+
|| github.ref_name == github.event.repository.default_branch
9393
9494
timeout-minutes: 1
9595

0 commit comments

Comments
 (0)