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:
parent
841bace5f0
commit
2e1b602e27
1 changed files with 1 additions and 1 deletions
2
.github/workflows/sync-examples.yml
vendored
2
.github/workflows/sync-examples.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue