We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c7f0ca + 4300c08 commit d6ca60aCopy full SHA for d6ca60a
1 file changed
.github/workflows/ci.yml
@@ -69,11 +69,13 @@ jobs:
69
70
- name: Determine test branch
71
id: test_branch
72
+ env:
73
+ TESTS_VER: ${{ github.event.inputs.tests_ver }}
74
+ PR_TITLE: ${{ github.event.pull_request.title }}
75
run: |
- if [ -n "${{ github.event.inputs.tests_ver }}" ]; then
- echo "branch=${{ github.event.inputs.tests_ver }}" >> $GITHUB_OUTPUT
- elif [ -n "${{ github.event.pull_request.title }}" ]; then
76
- PR_TITLE="${{ github.event.pull_request.title }}"
+ if [ -n "$TESTS_VER" ]; then
77
+ echo "branch=$TESTS_VER" >> $GITHUB_OUTPUT
78
+ elif [ -n "$PR_TITLE" ]; then
79
echo "PR title: $PR_TITLE"
80
BRANCH_TO_CHECK=$(echo "$PR_TITLE" | grep -oE 'PBM-[0-9]+' | head -1)
81
if [ -n "$BRANCH_TO_CHECK" ]; then
0 commit comments