Skip to content

Commit e8409f7

Browse files
authored
Merge pull request #5 from nodenv/sync-default-branch
Sync default branch
2 parents a3229e6 + 029011b commit e8409f7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Sync Default Branch
2+
on:
3+
push: { branches: main }
4+
workflow_dispatch:
5+
permissions: {}
6+
7+
jobs:
8+
sync:
9+
permissions: {contents: write}
10+
uses: nodenv/.github/.github/workflows/sync-default-branch.yml@v5
11+
12+
# One-time commands for users to switch-over:
13+
#
14+
# ```console
15+
# git branch -m master main
16+
# git fetch origin
17+
# git branch -u origin/main main
18+
# git remote set-head origin -a
19+
# ```

0 commit comments

Comments
 (0)