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 @@ -61,14 +61,18 @@ jobs:
6161 run : rye build
6262
6363 - name : Get GitHub OIDC Token
64- if : github.repository == 'stainless-sdks/open-transit-python'
64+ if : |-
65+ github.repository == 'stainless-sdks/open-transit-python' &&
66+ !startsWith(github.ref, 'refs/heads/stl/')
6567 id : github-oidc
6668 uses : actions/github-script@v8
6769 with :
6870 script : core.setOutput('github_token', await core.getIDToken());
6971
7072 - name : Upload tarball
71- if : github.repository == 'stainless-sdks/open-transit-python'
73+ if : |-
74+ github.repository == 'stainless-sdks/open-transit-python' &&
75+ !startsWith(github.ref, 'refs/heads/stl/')
7276 env :
7377 URL : https://pkg.stainless.com/s
7478 AUTH : ${{ steps.github-oidc.outputs.github_token }}
You can’t perform that action at this time.
0 commit comments