An open API service indexing awesome lists of open source software.

https://github.com/markpatterson27/template-sync-workflow

Reusable workflow to sync changes from a template source repo
https://github.com/markpatterson27/template-sync-workflow

Last synced: about 1 year ago
JSON representation

Reusable workflow to sync changes from a template source repo

Awesome Lists containing this project

README

          

# Template Sync Workflow

Reusable workflow to sync changes from a template source repository.

## Usage

```yml
name: Sync from template source

on:
push:
branches:
- '*'
- '!source-template-updates'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
sync:
uses: markpatterson27/Template-Sync-Workflow/.github/workflows/template-sync.yml@main
with:
template-repo: /
create-pr: true
update-branch-name: source-template-updates
update-strategy: merge
secrets:
workflowPAT: ${{ secrets.SYNC_TOKEN }}
templatePAT: ${{ secrets.SYNC_TOKEN }}

```