Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

mirrorz-org-push

mirrorz-org-push #46

Workflow file for this run

# this workflow is for mirrorz-help forks
name: Rebase Upstream
on:
repository_dispatch: # on upstream push, it will notify 'some' forks (maintained in forks.yml)
types: [mirrorz-org-push]
workflow_dispatch: # run manually
jobs:
sync:
runs-on: ubuntu-latest
if: github.repository == 'tuna/mirrorz-help'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 128 # greater than the number of commits the fork made
- uses: imba-tjd/[email protected]
with:
upstream: mirrorz-org/mirrorz-help
branch: master
- name: Send repository_dispatch to tuna/mirror-web
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PAT_PUBLIC_REPO_TUNA }}
repository: tuna/mirror-web
event-type: tuna-mirrorz-help-push