fix goth router startup #37
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: Clone master branch | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
clone-master: | |
name: Clone master branch | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout with admin privileges | |
uses: actions/checkout@v4 | |
- name: Set Git config | |
run: | | |
git config --local user.email "actions@github.com" | |
git config --local user.name "Github Actions" | |
- name: Merge master to master-fast | |
run: | | |
git fetch --unshallow | |
git checkout master-fast | |
git pull | |
git merge master -m "Auto-merge master to master-fast" | |
git push | |
- name: Assert if branch master-fast contains exactly same files as master | |
run: | | |
[[ $(git diff origin/master-fast origin/master | wc -c) -eq 0 ]] || false |