kind: pipeline type: docker name: main-automated-pipeline trigger: event: - push - promote - manual steps: - name: print-auto-run image: alpine:latest when: event: push branch: main commands: - echo =================================== - echo 这是自动运行的流水线 - echo 自动运行 - commit : {{ .input.message }} - 仓库名称 : {{ .input.source_repo }} - 提交人用户名 : {{ .input.author_login }} - 提交人姓名 : {{ .input.author_name }} - 触发人姓名 : {{ .input.sender }} - 仓库名称 : {{ .repo.name }} - echo ===================================