From cbf62e52aa5ab3a045ef54849bf15b30e4272e0a Mon Sep 17 00:00:00 2001 From: godofredoc <54371434+godofredoc@users.noreply.github.com> Date: Tue, 28 Sep 2021 09:28:01 -0700 Subject: [PATCH] Mirror master to main branch. (flutter/engine#28896) --- .../src/flutter/.github/workflows/mirror.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 engine/src/flutter/.github/workflows/mirror.yml diff --git a/engine/src/flutter/.github/workflows/mirror.yml b/engine/src/flutter/.github/workflows/mirror.yml new file mode 100644 index 0000000000..4c86ce357b --- /dev/null +++ b/engine/src/flutter/.github/workflows/mirror.yml @@ -0,0 +1,24 @@ +# Copyright 2013 The Flutter Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Mirror master to main branches in the engine repository. +on: + push: + branches: + - 'master' + +jobs: + mirror_job: + permissions: + pull-requests: write + runs-on: ubuntu-latest + name: Mirror main branch to master branch + steps: + - name: Mirror action step + id: mirror + uses: google/mirror-branch-action@c6b07e441a7ffc5ae15860c1d0a8107a3a151db8 + with: + github-token: ${{ secrets.FLUTTERGITHUBBOT_TOKEN }} + source: 'master' + dest: 'main'