mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
Update and rename .github/workflows/actions-template-sync.yml to actions-template-sync.yml
This commit is contained in:
23
actions-template-sync.yml
Normal file
23
actions-template-sync.yml
Normal file
@ -0,0 +1,23 @@
|
||||
# File: .github/workflows/template-sync.yml
|
||||
|
||||
on:
|
||||
# cronjob trigger
|
||||
schedule:
|
||||
- cron: "0 0 1 * *"
|
||||
# manual trigger
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
repo-sync:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# To use this repository's private action, you must check out the repository
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: actions-template-sync
|
||||
uses: AndreasAugustin/actions-template-sync@v0.8.0
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
source_repo_path: 'chhinsras/soybean-admin'
|
||||
upstream_branch: 'main' # defaults to main
|
||||
pr_labels: <label1>,<label2>[,...] # optional, no default
|
Reference in New Issue
Block a user