Skip to content

Commit 0482df2

Browse files
committed
support passing custom refs
1 parent 19d8560 commit 0482df2

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/devenv-nightly-compat.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
schedule:
55
- cron: "0 6 * * *" # Run daily at 6 AM
66
workflow_dispatch:
7+
inputs:
8+
refs:
9+
description: "Git refs to test, should be used only for tool testing purposes. In all other cases refs are detected automatically either from Git or RANE SOT"
10+
required: false
11+
type: string
712

813
permissions:
914
id-token: write
@@ -56,6 +61,8 @@ jobs:
5661
versions-back: "2"
5762
# patterns to exclude specific refs
5863
exclude-refs: "beta,rc"
64+
# Git refs to test, should be used only for tool testing purposes.
65+
refs: ${{ github.event_name == 'workflow_dispatch' && inputs.refs || '' }}
5966
# directory with your developer environment to run buildcmd and envcmd
6067
working-directory: "devenv"
6168
# directory for executing your tests, to run testcmd
@@ -84,6 +91,8 @@ jobs:
8491
versions-back: "2"
8592
# patterns to exclude specific refs
8693
exclude-refs: "beta,rc"
94+
# Git refs to test, should be used only for tool testing purposes.
95+
refs: ${{ github.event_name == 'workflow_dispatch' && inputs.refs || '' }}
8796
# directory with your developer environment to run buildcmd and envcmd
8897
working-directory: "./system-tests/tests"
8998
# directory for executing your tests, to run testcmd

0 commit comments

Comments
 (0)