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
- Host: GitHub
- URL: https://github.com/markpatterson27/template-sync-workflow
- Owner: markpatterson27
- License: mit
- Created: 2022-03-24T14:35:31.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T17:13:59.000Z (over 2 years ago)
- Last Synced: 2025-01-27T09:09:22.674Z (over 1 year ago)
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 }}
```