π Sync with template repository #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π Sync with template repository | |
on: | |
schedule: | |
- cron: 0 9 1 JAN,APR,JUL,OCT * | |
workflow_dispatch: | |
inputs: | |
isdryrun: | |
type: boolean | |
description: Dry run | |
default: false | |
jobs: | |
repo-sync: | |
name: Repository Sync | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch or tag | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PAT_ACTION_CI }} | |
- name: actions-template-sync | |
uses: AndreasAugustin/[email protected] | |
with: | |
github_token: ${{ secrets.PAT_ACTION_CI }} | |
source_repo_path: Andrews-McMeel-Universal/${{ vars.SYNC_REPO }} | |
upstream_branch: ${{ vars.SYNC_REPO_BRANCH || 'main' }} | |
pr_labels: sync | |
pr_commit_msg: π Synchronize with @Andrews-McMeel-Universal/${{ vars.SYNC_REPO }} | |
pr_title: π Sync with @Andrews-McMeel-Universal/${{ vars.SYNC_REPO }} | |
pr_branch_name_prefix: sync/ | |
pr_reviewers: Andrews-McMeel-Universal/devops-engineers | |
is_dry_run: ${{ inputs.isdryrun || 'false' }} | |
git_user_name: amutechtest | |
git_user_email: [email protected] |