Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
Create sync-upstream.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spectrapulse authored Jan 12, 2024
1 parent ca8bfdb commit 01e25bf
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# https://github.com/marketplace/actions/sync-and-merge-upstream-repository-with-your-current-repository
name: Sync Upstream

on:
schedule:
- cron: '0 0,12 * * 1,3,5,0'
workflow_dispatch:

jobs:
sync:
name: Sync Upstream
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout HEAD
uses: actions/checkout@v2
with:
ref: main

- name: GitHub Sync to Upstream Repository
uses: dabreadman/[email protected]
with:
token: ${{ secrets.WORKFLOW_TOKEN }}
upstream_repo: https://github.com/zedeus/nitter.git
upstream_branch: guest_accounts
downstream_branch: guest_accounts

0 comments on commit 01e25bf

Please sign in to comment.