Skip to content

Commit fa2ad6a

Browse files
authored
CI: add action to sync master with main
This is the same action which we used to use in tldr.
1 parent cffe4c7 commit fa2ad6a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Main Mirror
2+
3+
on:
4+
push:
5+
branches: ['main']
6+
7+
permissions: {}
8+
jobs:
9+
mirror:
10+
permissions:
11+
contents: write # to update branch
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: zofrex/mirror-branch@v1
17+
with:
18+
target-branch: master

0 commit comments

Comments
 (0)