Skip to content

smiek2121-sync

smiek2121-sync #18467

Workflow file for this run

name: smiek2121-sync
on:
schedule:
- cron: '1 * * * *'
workflow_dispatch:
watch:
types: started
repository_dispatch:
types: sync-smiek2121-scripts
jobs:
repo-sync:
env:
PAT: ${{ secrets.PAT }}
runs-on: ubuntu-latest
if: github.event_name == 'schedule' || github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: sync smiek2121-scripts
uses: repo-sync/github-sync@v2
if: env.PAT
with:
source_repo: "https://github.com/smiek2121/scripts.git"
source_branch: "master"
destination_branch: "smiek2121"
github_token: ${{ secrets.PAT }}