Skip to content

Commit f8eddb6

Browse files
stainless-app[bot]batuhan
authored andcommitted
chore(ci): skip uploading artifacts on stainless-internal branches
1 parent 50dc922 commit f8eddb6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,18 @@ jobs:
6161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6262

6363
- name: Get GitHub OIDC Token
64-
if: github.repository == 'stainless-sdks/beeper-desktop-api-cli'
64+
if: |-
65+
github.repository == 'stainless-sdks/beeper-desktop-api-cli' &&
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/beeper-desktop-api-cli'
73+
if: |-
74+
github.repository == 'stainless-sdks/beeper-desktop-api-cli' &&
75+
!startsWith(github.ref, 'refs/heads/stl/')
7276
env:
7377
URL: https://pkg.stainless.com/s
7478
AUTH: ${{ steps.github-oidc.outputs.github_token }}

0 commit comments

Comments
 (0)