Sync Fork #65
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: | |
# every hour | |
- cron: "0 * * * *" | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
git pull | |
git switch master | |
git remote add -f upstream https://github.com/microsoft/winget-pkgs.git | |
git rebase upstream/master | |
git push origin master |