mirror of
https://github.com/labring/sealos.git
synced 2026-09-01 15:38:06 +08:00
8c4a998bb4
Signed-off-by: cuisongliu <cuisongliu@qq.com>
27 lines
713 B
YAML
27 lines
713 B
YAML
name: Sync Code
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- staging/src/github.com/labring/**
|
|
workflow_dispatch:
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run GitHub File Sync
|
|
# Can update to v1 when https://github.com/BetaHuhn/repo-file-sync-action/issues/168 is resolved
|
|
uses: BetaHuhn/repo-file-sync-action@v1.16.5
|
|
with:
|
|
GH_PAT: ${{ secrets.GH_PAT }}
|
|
CONFIG_PATH: .github/sync_code.yml
|
|
ORIGINAL_MESSAGE: true
|
|
SKIP_PR: true
|
|
COMMIT_EACH_FILE: false
|
|
GIT_EMAIL: "sealos-ci-robot@sealos.io"
|
|
GIT_USERNAME: "sealos-ci-robot"
|