Skip to content

Commit 2b01fc3

Browse files
committed
ci(system-test): allow to manually build layers for a given dd-trace-py branch
1 parent eba810a commit 2b01fc3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build_layer.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Build Layers for system-Tests
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
dd_trace_py_ref:
7+
description: "Target Branch for dd-trace-py (leave empty for main)"
8+
required: false
9+
default: "main"
10+
type: string
511
pull_request:
612
push:
713
branches:
@@ -21,7 +27,7 @@ jobs:
2127
RUN_ID=$(gh run list \
2228
--repo DataDog/dd-trace-py \
2329
--workflow build_deploy.yml \
24-
--branch main \
30+
--branch ${{ inputs.dd_trace_py_ref || 'main' }} \
2531
--status success \
2632
--limit 1 \
2733
--json databaseId \

0 commit comments

Comments
 (0)