Skip to content

Sync upstream

Sync upstream #70

Workflow file for this run

name: Sync upstream
on:
schedule:
- cron: '0 */6 * * *' # 每 6 小时检测上游新提交
workflow_dispatch: # 也可手动触发
permissions:
contents: write
jobs:
sync:
if: github.repository != 'OpenWSGR/AutoWSGR'
runs-on: ubuntu-latest
steps:
- name: Sync fork with upstream
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh repo sync ${{ github.repository }} --force