Sync upstream branch #1
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 upstream branch | |
on: | |
schedule: | |
- cron: '14 6 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
concurrency: | |
group: "sync" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: upstream | |
- name: Git | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
git remote add up https://github.com/scratchfoundation/scratch-gui.git | |
git pull up develop | |
git push -u origin upstream | |
git push |