Open
Add PR pipeline workflow for release_management #188
zhaozepengAdd on Sep 22
Add PR pipeline workflow for release_management #188
Open
Total: 1 files changed+49-0
| @@ -0,0 +1,49 @@ | |||
| 1 | +name: PR-pipeline_release_management | ||
| 2 | + | ||
| 3 | +concurrency: | ||
| 4 | + max: 10 | ||
| 5 | + exceed-action: QUEUE | ||
| 6 | + enable: true | ||
| 7 | + preemption: | ||
| 8 | + enable: true | ||
| 9 | + events: [mr_id] | ||
| 10 | + | ||
| 11 | +on: | ||
| 12 | + workflow_dispatch: | ||
| 13 | + pr_comment: | ||
| 14 | + types: [created] | ||
| 15 | + keyword: '^/retest$' | ||
| 16 | + pull_request_comment: | ||
| 17 | + types: | ||
| 18 | + - created | ||
| 19 | + branches: | ||
| 20 | + - '*' | ||
| 21 | + comments: | ||
| 22 | + - '^/retest$' | ||
| 23 | + pull_request_target: | ||
| 24 | + types: | ||
| 25 | + - open | ||
| 26 | + - reopen | ||
| 27 | + - update | ||
| 28 | + branches: | ||
| 29 | + - '*' | ||
| 30 | + | ||
| 31 | +permissions: | ||
| 32 | + repository: read | ||
| 33 | + id-token: write | ||
| 34 | + | ||
| 35 | + | ||
| 36 | +inputs: | ||
| 37 | + org_name: | ||
| 38 | + type: string | ||
| 39 | + description: "组织名称" | ||
| 40 | + default: "openubmc" | ||
| 41 | + | ||
| 42 | +stages: | ||
| 43 | + CI: | ||
| 44 | + name: CI门禁 | ||
| 45 | + select: selected_by_default | ||
| 46 | + jobs: | ||
| 47 | + Build: | ||
| 48 | + name: CI门禁 | ||
| 49 | + uses: openubmc/openubmc-ci/.gitcode/workflows/ci-build.yml@main | ||