Skip to content

Commit 1e367ca

Browse files
committed
Correct yml syntax
1 parent 3376102 commit 1e367ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sync-repos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
- cron: "10 */3 * * *"
55
jobs:
66
sync-release-branches:
7+
if: github.head_ref == ""
78
runs-on: ubuntu-latest
89
steps:
910
- name: "Sync Release Branches"
@@ -15,6 +16,7 @@ jobs:
1516
destination_branch_prefix: "discvr-"
1617
github_token: ${{ secrets.GITHUB_TOKEN }}
1718
sync-develop:
19+
if: github.head_ref == ""
1820
runs-on: ubuntu-latest
1921
steps:
2022
- name: "Sync Develop Branch"

0 commit comments

Comments
 (0)