Swap the mirroring order. (#4650) (#4654)
This is to make main the default branch.
Co-authored-by: godofredoc <godofredoc@google.com>
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
index c9780f7..9026643 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 @@
pull-requests: write
runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/plugins' }}
- 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'