-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.16 KB
/
sync.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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]