We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3208a72 commit 0d4dbddCopy full SHA for 0d4dbdd
.github/workflows/mirror.yml
@@ -0,0 +1,28 @@
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'
0 commit comments