-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mirroring of commits of master branch to main.
This is to prepare repositories for a migration of master branch to main. Bug: flutter/flutter#90476
- Loading branch information
1 parent
8e169f3
commit dec6d93
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 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 goldens repository. | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
mirror_job: | ||
permissions: | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository == 'flutter/goldens' }} | ||
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' |