Skip to content

Commit

Permalink
feat(apps/prod/tekton/configs): add ci helper triggers
Browse files Browse the repository at this point in the history
For expiremental purpose, we need to add ci helper for some future features.

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Nov 11, 2024
1 parent fdc0df1 commit be23783
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions apps/prod/tekton/configs/tasks/ci/ci-helper-for-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ kind: Task
metadata:
name: ci-helper-for-pr
spec:
description: >-
Create pull request to update version placeholder "README.md" to github repository branch.
description: CI helper for contribution pull requests
params:
- name: owner
description: repo owner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
name: pr-labeled-with-needs-ok-to-test
labels:
type: github-pr
github-owner: pingcap
spec:
interceptors:
- name: filter on repo owner and name and tags
Expand All @@ -16,9 +15,7 @@ spec:
&&
body.label.name in ['needs-ok-to-test']
&&
body.pull_request.user.login in ['wuhuizuo', 'purlind']
&&
body.repository.owner.login == 'pingcap'
body.repository.owner.login in ['pingcap', 'tikv', "PingCAP-QE"]
bindings:
- ref: github-pr
template:
Expand Down

0 comments on commit be23783

Please sign in to comment.