-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.09 KB
/
template-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 .github repository
on:
schedule:
- cron: 0 9 1 * *
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@v3
with:
token: ${{ secrets.PAT_ACTION_CI }}
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1.1.1
with:
github_token: ${{ secrets.PAT_ACTION_CI }}
source_repo_path: Andrews-McMeel-Universal/.github
upstream_branch: main
pr_labels: maintenance
pr_commit_msg: 🔄 Synchronize with @Andrews-McMeel-Universal/.github
pr_title: 🔄 Sync with @Andrews-McMeel-Universal/.github
pr_branch_name_prefix: sync/dotgithub/
pr_reviewers: Andrews-McMeel-Universal/devops-engineers
is_dry_run: ${{ inputs.isdryrun || 'false' }}
git_user_name: amutechtest
git_user_email: amu_deploy@amuniversal.com