Skip to content

Commit 69b1d86

Browse files
committed
use PR_REVISION for ref
instead of DEFAULT_BRANCH Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
1 parent d81d616 commit 69b1d86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.tekton/trigger-e2e-test.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,12 @@ spec:
6262
}
6363
6464
payload = {
65-
"ref": DEFAULT_BRANCH,
6665
"inputs": {
6766
"target_ref": PR_REVISION
6867
}
6968
}
7069
71-
print(f"Attempting to trigger workflow '{WORKFLOW_FILE}' on branch '{DEFAULT_BRANCH}' with target_ref '{PR_REVISION}'...")
70+
print(f"Attempting to trigger workflow '{WORKFLOW_FILE}' with target_ref '{PR_REVISION}'...")
7271
7372
try:
7473
response = requests.post(url, headers=headers, data=json.dumps(payload)) # Use json.dumps for the payload

0 commit comments

Comments
 (0)