File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed
Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change 1- name : Sync Template
1+ # File: .github/workflows/template-sync.yml
22
33on :
4+ # cronjob trigger
45 schedule :
5- - cron : " 0 0 1 * *"
6+ - cron : " 0 0 1 * *"
7+ # manual trigger
68 workflow_dispatch :
79jobs :
810 repo-sync :
911 runs-on : ubuntu-latest
12+ # https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
13+ permissions :
14+ contents : write
15+ pull-requests : write
1016 if : github.repository != 'nicebots-xyz/botkit'
17+
1118 steps :
19+ # To use this repository's private action, you must check out the repository
1220 - name : Checkout
13- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
22+ # https://github.com/actions/checkout#usage
23+ # uncomment if you use submodules within the repository
24+ # with:
25+ # submodules: true
26+
1427 - name : actions-template-sync
15- uses : AndreasAugustin/actions-template-sync@v0.4.2-draft
28+ uses : AndreasAugustin/actions-template-sync@v2
1629 with :
1730 github_token : ${{ secrets.GITHUB_TOKEN }}
1831 source_repo_path : nicebots-xyz/botkit
1932 upstream_branch : dev
20- commit_message : " core: :twisted_rightwards_arrows: Merge remote template"
33+ pr_commit_msg : " core: :twisted_rightwards_arrows: Merge remote template"
2134 pr_title : " core: :twisted_rightwards_arrows: Merge remote template"
You can’t perform that action at this time.
0 commit comments