Skip to content

Sync with Upstream

Sync with Upstream #5

Workflow file for this run

name: Sync with Upstream
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync with Upstream
env:
PAT: ${{ secrets.PAT }}
run: |
git clone --bare https://github.com/lshbluesky/WhateverGreen.git upstream-bare
cd upstream-bare
git push --mirror https://x-access-token:${PAT}@github.com/lshbluesky/WhateverGreen-Mirror.git