File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,18 @@ jobs:
5555 run : uv build
5656
5757 - name : Get GitHub OIDC Token
58- if : github.repository == 'stainless-sdks/cas-parser-python'
58+ if : |-
59+ github.repository == 'stainless-sdks/cas-parser-python' &&
60+ !startsWith(github.ref, 'refs/heads/stl/')
5961 id : github-oidc
6062 uses : actions/github-script@v8
6163 with :
6264 script : core.setOutput('github_token', await core.getIDToken());
6365
6466 - name : Upload tarball
65- if : github.repository == 'stainless-sdks/cas-parser-python'
67+ if : |-
68+ github.repository == 'stainless-sdks/cas-parser-python' &&
69+ !startsWith(github.ref, 'refs/heads/stl/')
6670 env :
6771 URL : https://pkg.stainless.com/s
6872 AUTH : ${{ steps.github-oidc.outputs.github_token }}
You can’t perform that action at this time.
0 commit comments