File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 IS_CLI : ${{ contains(github.event.pull_request.labels.*.name, 'cli-rc') || (github.event_name == 'workflow_dispatch' && github.event.inputs.cli == 'true') }}
4848 IS_PYTHON : ${{ contains(github.event.pull_request.labels.*.name, 'python-rc') || (github.event_name == 'workflow_dispatch' && github.event.inputs.python-sdk == 'true') }}
4949 PUBLISH_TAG : ${{ github.event.inputs.tag || 'rc' }}
50- PREID : ${{ github.event.inputs.preid || github.head_ref || github.ref_name }}
5150
5251 steps :
52+ - name : Sanitize preid
53+ run : |
54+ RAW_PREID="${{ github.event.inputs.preid || github.head_ref || github.ref_name }}"
55+ echo "PREID=$(echo "$RAW_PREID" | sed 's/[^0-9A-Za-z-]/-/g')" >> "$GITHUB_ENV"
56+
5357 - name : Block production tags
5458 if : ${{ github.event_name == 'workflow_dispatch' }}
5559 run : |
You can’t perform that action at this time.
0 commit comments