Sync upstream with mozilla-central #651
This file contains hidden or 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 with mozilla-central | |
| on: | |
| schedule: | |
| - cron: '0 13 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| name: Sync | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/cache@v3 | |
| with: | |
| path: _cache/upstream | |
| key: upstream | |
| - run: | | |
| ./sync.sh _filtered | |
| git fetch -f --progress ./_filtered main:upstream | |
| git push -fu --progress origin upstream |