From dc609da9c502f5321c61143b193a358cfe62c320 Mon Sep 17 00:00:00 2001 From: Godofredo Contreras Date: Tue, 17 May 2022 20:49:35 -0700 Subject: [PATCH] Reverse mirroring order. This is to set main as default branch. Bug: https://github.com/flutter/gallery/issues/655 --- .github/workflows/mirror.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 13ba515705..ff48d8db76 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -6,7 +6,7 @@ on: push: branches: - - 'master' + - 'main' jobs: mirror_job: @@ -14,12 +14,12 @@ jobs: pull-requests: write runs-on: ubuntu-latest if: ${{ github.repository == 'flutter/gallery' }} - name: Mirror master branch to main branch + name: Mirror main branch to master branch steps: - name: Mirror action step id: mirror uses: google/mirror-branch-action@c6b07e441a7ffc5ae15860c1d0a8107a3a151db8 with: github-token: ${{ secrets.FLUTTERMIRRORINGBOT_TOKEN }} - source: 'master' - dest: 'main' + source: 'main' + dest: 'master'