We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3229e6 + 029011b commit e8409f7Copy full SHA for e8409f7
.github/workflows/sync-default-branch.yml
@@ -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