Skip to content

Commit 3a35ffd

Browse files
chore: update github action
1 parent 8d77d6b commit 3a35ffd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: ./scripts/lint
4242

4343
build:
44-
if: github.repository == 'stainless-sdks/cloudflare-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
44+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
4545
timeout-minutes: 10
4646
name: build
4747
permissions:
@@ -66,12 +66,14 @@ jobs:
6666
run: rye build
6767

6868
- name: Get GitHub OIDC Token
69+
if: github.repository == 'stainless-sdks/cloudflare-python'
6970
id: github-oidc
7071
uses: actions/github-script@v6
7172
with:
7273
script: core.setOutput('github_token', await core.getIDToken());
7374

7475
- name: Upload tarball
76+
if: github.repository == 'stainless-sdks/cloudflare-python'
7577
env:
7678
URL: https://pkg.stainless.com/s
7779
AUTH: ${{ steps.github-oidc.outputs.github_token }}

0 commit comments

Comments
 (0)