Skip to content

Commit

Permalink
fix(apps/prod/tekton/configs/tasks): fix task ci-helper-for-pr
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Oct 28, 2024
1 parent a63ae5f commit c41ca46
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion apps/prod/tekton/configs/tasks/ci/ci-helper-for-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ spec:
description: repo short name
- name: number
description: pull request number
type: integer
steps:
- name: create-pull-request
image: denoland/deno:1.45.5
Expand Down
2 changes: 1 addition & 1 deletion apps/prod/tekton/configs/triggers/bindings/github-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
- name: git-ref
value: $(body.pull_request.base.ref)
- name: pr-number
value: $(body.pull_request.number)
value: "$(body.pull_request.number)"
# - name: pr-head-ref
# value: $(body.pull_request.head.ref)
# - name: pr-base-ref
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ spec:
- name: pr-owner
- name: pr-repo
- name: pr-number
type: integer
resourcetemplates:
- apiVersion: tekton.dev/v1beta1
kind: TaskRun
Expand All @@ -18,7 +17,7 @@ spec:
- name: owner
value: $(tt.params.pr-owner)
- name: repo
value: $(tt.params.repo)
value: $(tt.params.pr-repo)
- name: number
value: $(tt.params.pr-number)
taskRef:
Expand Down

0 comments on commit c41ca46

Please sign in to comment.