Skip to content

Commit

Permalink
Update sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergs-pci authored Sep 19, 2023
1 parent 150aaa4 commit d1d686b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@master
- name: Exit if not on main branch
if: endsWith(github.ref, 'main') == false
if: endsWith(github.event.base_ref, 'main') == false
run: exit -1
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
Expand Down

0 comments on commit d1d686b

Please sign in to comment.