You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
# Copyright © 2023 KubeCub open source community. All rights reserved.
|
|
# Licensed under the MIT License (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# https://github.com/BetaHuhn/repo-file-sync-action
|
|
name: Synchronize kubecub public code to other repositories
|
|
on:
|
|
push:
|
|
paths:
|
|
- scripts/*
|
|
- docs/*
|
|
- config/*
|
|
branches:
|
|
- release-v*.*
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run GitHub File Sync
|
|
uses: BetaHuhn/repo-file-sync-action@latest
|
|
with:
|
|
GH_INSTALLATION_TOKEN: "${{ secrets.BOT_GITHUB_TOKEN }}"
|
|
CONFIG_PATH: .github/sync-release.yml
|
|
ORIGINAL_MESSAGE: true
|
|
SKIP_PR: true
|
|
COMMIT_EACH_FILE: false
|
|
COMMIT_BODY: "🤖 kubbot to synchronize the warehouse"
|
|
GIT_EMAIL: "3293172751ysy@gmail.com"
|
|
GIT_USERNAME: "kubbot"
|
|
PR_BODY: 👌 kubecub provides automated community services
|
|
REVIEWERS: |
|
|
kubbot
|
|
cubxxw
|
|
PR_LABELS: |
|
|
file-sync
|
|
automerge
|
|
ASSIGNEES: |
|
|
kubbot
|