fix(ci): 🐛 👷 check if branch is main when updating dev

This commit is contained in:
Guz013
2023-07-20 15:58:18 -03:00
parent 2cdb06d209
commit 855b101292

View File

@@ -40,7 +40,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update dev branch
if: steps.changesets.outputs.hasChangesets == 'false'
if: ${{ steps.changesets.outputs.hasChangesets == 'false' && github.ref_name == 'main'}}
uses: devmasx/merge-branch@master
with:
type: now