Skip to content

Sync with template repository #8721

Sync with template repository

Sync with template repository #8721

name: Sync with template repository
on:
push:
paths:
- '.github/workflows/sync-with-template.yml'
- '.github/sync-with-template.yml'
- '.github/sync-with-template-local-transformations.yml'
branches:
- 'main'
- 'master'
schedule:
- cron: '56 * * * *' # sync-with-template: adjust
workflow_dispatch: { }
defaults:
run:
shell: bash
env:
PUSH_BACK_TOKEN: ${{secrets.PUSH_BACK_TOKEN}}
jobs:
sync-with-template:
name: Sync with template repository
runs-on: ubuntu-latest
timeout-minutes: 15
concurrency: sync-with-template
steps:
- name: Sync with template repository
uses: remal-github-actions/sync-with-template@v3
if: ${{env.PUSH_BACK_TOKEN}}
with:
githubToken: ${{env.PUSH_BACK_TOKEN}}
templateRepository: ${{secrets.TEMPLATE_REPOSITORY || ''}}