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 @@ -33,14 +33,18 @@ jobs:
3333 bundle install
3434
3535 - name : Get GitHub OIDC Token
36- if : github.repository == 'stainless-sdks/stagehand-ruby'
36+ if : |-
37+ github.repository == 'stainless-sdks/stagehand-ruby' &&
38+ !startsWith(github.ref, 'refs/heads/stl/')
3739 id : github-oidc
3840 uses : actions/github-script@v8
3941 with :
4042 script : core.setOutput('github_token', await core.getIDToken());
4143
4244 - name : Build and upload gem artifacts
43- if : github.repository == 'stainless-sdks/stagehand-ruby'
45+ if : |-
46+ github.repository == 'stainless-sdks/stagehand-ruby' &&
47+ !startsWith(github.ref, 'refs/heads/stl/')
4448 env :
4549 URL : https://pkg.stainless.com/s
4650 AUTH : ${{ steps.github-oidc.outputs.github_token }}
You can’t perform that action at this time.
0 commit comments