mirror of https://github.com/tc39/test262.git
Add GitHub Workflow to mirror master and main branches
This commit is contained in:
parent
59f5b49359
commit
31e88a860a
|
@ -0,0 +1,19 @@
|
||||||
|
name: Mirror "master" and "main" branches
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
mirror:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Push
|
||||||
|
run: |
|
||||||
|
git push origin HEAD:master
|
||||||
|
git push origin HEAD:main
|
Loading…
Reference in New Issue