diff --git a/.devops/代码质量门禁流水线.yml b/.devops/代码质量门禁流水线.yml deleted file mode 100644 index 8a1fcdc..0000000 --- a/.devops/代码质量门禁流水线.yml +++ /dev/null @@ -1,55 +0,0 @@ -version: 2 -name: 代码质量门禁流水线 -description: "PR 触发:代码审查 → CI 检查 → 门禁决策 → 自动合并或反馈" -trigger: - webhook: gitlink@1.0.0 - event: - - ref: pull_request - ruleset-operator: AND -global: - concurrent: 1 - param: - - ref: remote_url - name: "" - value: '"https://gitlink.org.cn/z2_cc/gitlink-cli.git"' - required: false - type: STRING - hidden: false - - ref: owner - name: "仓库所有者" - value: '"z2_cc"' - required: true - type: STRING - hidden: false - - ref: repo - name: "仓库名称" - value: '"gitlink-cli"' - required: true - type: STRING - hidden: false - - ref: dry_run - name: "Dry-Run 模式" - value: '"true"' - required: false - type: STRING - hidden: false -workflow: - - ref: start - name: 开始 - task: start - - ref: ssh_cmd_0 - name: 运行代码质量门禁 - task: ssh_cmd@1.1.1 - input: - ssh_pass: ((work_together.ssh_key)) - ssh_ip: '"121.41.216.243"' - ssh_port: '"22"' - ssh_user: '"root"' - ssh_cmd: '"cd /root/gitlink-cli && git pull origin master && DRY_RUN=$(dry_run) bash skills/gitlink-quality-gate/scripts/quality-gate-full.sh z2_cc gitlink-cli"' - needs: - - start - - ref: end - name: 结束 - task: end - needs: - - ssh_cmd_0 diff --git a/.devops/社区运营流水线.yml b/.devops/社区运营流水线.yml deleted file mode 100644 index 578122e..0000000 --- a/.devops/社区运营流水线.yml +++ /dev/null @@ -1,49 +0,0 @@ -version: 2 -name: 社区运营流水线 -description: "每周定时运行:Issue 分拣 → 健康报告 → Release Notes" -trigger: - webhook: gitlink@1.0.0 - event: - - ref: schedule - ruleset-operator: AND -global: - concurrent: 1 - param: - - ref: remote_url - name: "" - value: '"https://gitlink.org.cn/z2_cc/gitlink-cli.git"' - required: false - type: STRING - hidden: false - - ref: owner - name: "仓库所有者" - value: '"z2_cc"' - required: true - type: STRING - hidden: false - - ref: repo - name: "仓库名称" - value: '"gitlink-cli"' - required: true - type: STRING - hidden: false -workflow: - - ref: start - name: 开始 - task: start - - ref: ssh_cmd_0 - name: 运行社区运营自动化流水线 - task: ssh_cmd@1.1.1 - input: - ssh_pass: ((work_together.ssh_key)) - ssh_ip: '"121.41.216.243"' - ssh_port: '"22"' - ssh_user: '"root"' - ssh_cmd: '"cd /root/gitlink-cli && git pull origin master && DRY_RUN=true bash skills/gitlink-community-ops/scripts/community-ops-full.sh z2_cc gitlink-cli"' - needs: - - start - - ref: end - name: 结束 - task: end - needs: - - ssh_cmd_0