0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

Add safe guard

This commit is contained in:
bluwy 2024-11-29 12:32:28 +08:00
parent 841bace5f0
commit 2e1b602e27

View file

@ -52,7 +52,7 @@ jobs:
# to clone examples that may rely on unreleased code
- name: Sync stable to latest and examples/* branches
if: steps.detect.outputs.has-changesets == 'false' && steps.pre.outputs.value == ''
if: steps.detect.outputs.has-changesets == 'false' && github.ref == 'refs/heads/main' && steps.pre.outputs.value == ''
uses: bluwy/auto-branch-sync-action@v1
with:
map: |