Mirror #6
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: Mirror | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 1' | |
permissions: | |
contents: write | |
jobs: | |
mirror: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Update Repository | |
run: | | |
git remote set-url origin https://dawn.googlesource.com/dawn | |
git remote set-url --push origin https://github.com/Paper-Cranes-Ltd/dawn.git | |
git fetch origin main | |
git pull --rebase origin main | |
git push --force | |
git push --force --tags |