From a2c616760cc8042d5859cbb608249636f3ae8389 Mon Sep 17 00:00:00 2001 From: lbw Date: Sat, 2 Mar 2024 11:22:22 +0800 Subject: [PATCH] :green_heart: Fixing CI Build. repo mirror --- .github/workflows/build.yaml | 2 +- .github/workflows/mirror.yml | 18 ++++++++++++++++++ renovate.json | 2 ++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 69e75802..ccddfa33 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [windows-latest, macOS-latest, ubuntu-latest] - node-version: [16.x, 18.x] + node-version: [16.x] npm-client: [npm, yarn, pnpm] steps: diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 00000000..19d2029d --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,18 @@ +name: 同步代码 + +on: + push: + branches: [ master,jdk17 ] + pull_request: + branches: [ master,jdk17 ] + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: wearerequired/git-mirror-action@master #同步至 gitlink + env: + SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} + with: + source-repo: "git@github.com:pig-mesh/pig-ui.git" + destination-repo: "git@code.gitlink.org.cn:lengleng/pig-ui.git" diff --git a/renovate.json b/renovate.json index 5db72dd6..ab490499 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "deleteBranchAfterMerge": true, + "baseBranches": ["dev"], "extends": [ "config:recommended" ]