Merge pull request #45 from jasonkarns/dependabot/github_actions/acti… #13
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
name: Sync Default Branch | |
on: | |
push: { branches: main } | |
workflow_dispatch: | |
permissions: {contents: read} | |
jobs: | |
sync: | |
permissions: {contents: write} | |
uses: nodenv/.github/.github/workflows/sync-default-branch.yml@v4 | |
# One-time commands for users to switch-over: | |
# | |
# ```console | |
# git branch -m master main | |
# git fetch origin | |
# git branch -u origin/main main | |
# git remote set-head origin -a | |
# ``` |