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 c61ee21
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 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 Down

0 comments on commit c61ee21

Please sign in to comment.