File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,20 @@ jobs:
1717 runs-on : ubuntu-24.04
1818 steps :
1919 - uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
2022 - name : Setup Python & Poetry Environment
21- uses : exasol/python-toolbox/.github/actions/python-environment@0.12.0
23+ uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
2224 with :
2325 python-version : " 3.10"
2426 poetry-version : " 2.1.2"
2527 - name : Run check
2628 id : run-check
2729 run : |
28- echo branch name is ${{github.ref_name}}
29- result = `poetry run -- nox -s ci:check-if-build-need -- --flavor ${{ inputs.flavor }} --branch-name ${{github.ref_name}}`
30+ echo ref_name name is ${{github.ref_name}}
31+ echo head_ref is ${{github.head_ref}}
32+ branch_name="${{github.head_ref || github.ref_name}}"
33+ result = $(poetry run -- nox -s ci:check-if-build-need -- --flavor ${{ inputs.flavor }} --branch-name "$branch_name")
3034 echo "continue=$result" >> $GITHUB_OUTPUT
3135
3236 outputs :
You can’t perform that action at this time.
0 commit comments