Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 5bf7fb0

Browse files
authored
Add mirroring of master to main branch. (#4477)
* Add mirroring of master to main branch. This is to prepare for the migration of master to main. Bug: flutter/flutter#90476 * Update description.
1 parent 27eda48 commit 5bf7fb0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright 2013 The Flutter Authors. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
# Mirror master to main branches in the plugins repository.
6+
on:
7+
push:
8+
branches:
9+
- 'master'
10+
11+
jobs:
12+
mirror_job:
13+
permissions:
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
if: ${{ github.repository == 'flutter/plugins' }}
17+
name: Mirror master branch to main branch
18+
steps:
19+
- name: Mirror action step
20+
id: mirror
21+
uses: google/mirror-branch-action@c6b07e441a7ffc5ae15860c1d0a8107a3a151db8
22+
with:
23+
github-token: ${{ secrets.FLUTTERGITHUBBOT_TOKEN }}
24+
source: 'master'
25+
dest: 'main'

0 commit comments

Comments
 (0)