Sync Upstream #20
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 Fork | |
on: | |
schedule: | |
- cron: '0 * * * *' # This runs the job every hour | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set upstream remote | |
run: git remote add upstream [email protected]:Guardsquare/proguard.git | |
- name: Fetch upstream changes | |
run: git fetch upstream | |
- name: Merge upstream changes | |
run: git merge upstream/master --no-edit | |
- name: Push changes to fork | |
run: git push origin master |