fetch upstream #5430
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: fetch upstream | |
on: | |
schedule: | |
- cron: '0 */4 * * *' | |
workflow_dispatch: # on button click | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: fetch upstream | |
uses: tgymnich/[email protected] | |
with: | |
owner: pymumu | |
base: master | |
head: master | |
auto_approve: true | |
github_token: ${{ secrets.TOKEN }} | |
- name: Delete workflow runs | |
uses: Mattraks/delete-workflow-runs@v2 | |
with: | |
token: ${{ secrets.TOKEN }} | |
repository: ${{ github.repository }} | |
retain_days: 7 | |
keep_minimum_runs: 7 |