🔧 chore(ci): inline skill sync and standardize git identity
This commit is contained in:
@@ -13,6 +13,8 @@ concurrency:
|
||||
env:
|
||||
WORKSPACE_DIR: "/home/workspace"
|
||||
TARGET_BRANCH: "tsl-playbook"
|
||||
GIT_USER_NAME: "ci[bot]"
|
||||
GIT_USER_EMAIL: "ci[bot]@tinysoft.com.cn"
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
@@ -73,8 +75,6 @@ jobs:
|
||||
REPO_DIR="${REPO_DIR:-$(pwd)}"
|
||||
TARGET_BRANCH="${TARGET_BRANCH:-tsl-playbook}"
|
||||
BUILD_SCRIPT="${BUILD_SCRIPT:-scripts/build_tsl_playbook.py}"
|
||||
COMMIT_AUTHOR_NAME="${COMMIT_AUTHOR_NAME:-ci[bot]}"
|
||||
COMMIT_AUTHOR_EMAIL="${COMMIT_AUTHOR_EMAIL:-ci-bot@local}"
|
||||
|
||||
cd "$REPO_DIR"
|
||||
|
||||
@@ -82,8 +82,8 @@ jobs:
|
||||
echo "🔨 Build bundle and sync $TARGET_BRANCH"
|
||||
echo "========================================"
|
||||
|
||||
git config user.name "$COMMIT_AUTHOR_NAME"
|
||||
git config user.email "$COMMIT_AUTHOR_EMAIL"
|
||||
git config user.name "$GIT_USER_NAME"
|
||||
git config user.email "$GIT_USER_EMAIL"
|
||||
|
||||
source_sha="$(git rev-parse HEAD)"
|
||||
source_short="$(git rev-parse --short HEAD)"
|
||||
|
||||
Reference in New Issue
Block a user