Skip to content

Commit ae8d8eb

Browse files
Merge pull request #172 from SANDAG/template-sync
[PULL REQUEST] Configuration for template sync
2 parents 3e8c1cc + 1067440 commit ae8d8eb

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/.templatesyncignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
:!.github
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
on:
2+
# cronjob trigger At 00:00 on day-of-month 1. https://crontab.guru/every-month
3+
schedule:
4+
- cron: "0 0 1 * *"
5+
# manual trigger
6+
workflow_dispatch:
7+
jobs:
8+
repo-sync:
9+
runs-on: ubuntu-latest
10+
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
15+
steps:
16+
# To use this repository's private action, you must check out the repository
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
# https://github.com/actions/checkout#usage
20+
# uncomment if you use submodules within the repository
21+
# with:
22+
# submodules: true
23+
24+
- name: actions-template-sync
25+
uses: AndreasAugustin/actions-template-sync@v2
26+
with:
27+
source_repo_path: SANDAG/Estimates-Forecasts-Template
28+
upstream_branch: main
29+
pr_title: "[PULL REQUEST] Upstream merge template repository"
30+
pr_labels: enhancement
31+
pr_commit_msg: "Automation: Merge template changes"

0 commit comments

Comments
 (0)