File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
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
+ - ' main'
10
+
11
+ # Declare default permissions as read only.
12
+ permissions : read-all
13
+
14
+ jobs :
15
+ mirror_job :
16
+ permissions :
17
+ pull-requests : write
18
+ runs-on : ubuntu-latest
19
+ if : ${{ github.repository == 'flutter/plugins' }}
20
+ name : Mirror main branch to master branch
21
+ steps :
22
+ - name : Mirror action step
23
+ id : mirror
24
+ uses : google/mirror-branch-action@c6b07e441a7ffc5ae15860c1d0a8107a3a151db8
25
+ with :
26
+ github-token : ${{ secrets.FLUTTERMIRRORINGBOT_TOKEN }}
27
+ source : ' main'
28
+ dest : ' master'
You can’t perform that action at this time.
0 commit comments