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

Commit be92ccb

Browse files
authored
Revert "All the workflows have been migrated to use main. (#5874)"
This reverts commit 7cad599.
1 parent 5ed15e5 commit be92ccb

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)