Skip to content

Commit 75d7ae2

Browse files
jwnrtAlexJones0
authored andcommitted
[ot] .github/workflows: regression: allow OT repo to be changed
Allows for manual runs to test against a downstream fork. This is useful for testing pull requests which weren't pushed to the upstream repo. Signed-off-by: James Wainwright <[email protected]>
1 parent 8538b81 commit 75d7ae2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/opentitan_regression.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
pull_request:
1111
workflow_dispatch:
1212
inputs:
13+
opentitan_repo:
14+
description: OpenTitan repository to be checked out
15+
required: true
16+
default: lowRISC/opentitan
17+
type: string
1318
opentitan_ref:
1419
description: Branch, tag, or commit ref from OpenTitan to test
1520
required: true
@@ -24,7 +29,7 @@ jobs:
2429
- name: Checkout OpenTitan
2530
uses: actions/checkout@v5
2631
with:
27-
repository: lowRISC/opentitan
32+
repository: ${{ inputs.opentitan_repo || 'lowRISC/opentitan' }}
2833
ref: ${{ inputs.opentitan_ref || 'earlgrey_1.0.0' }}
2934

3035
- name: Prepare OpenTitan environment

0 commit comments

Comments
 (0)