File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 41
41
run : ./scripts/lint
42
42
43
43
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
45
45
timeout-minutes : 10
46
46
name : build
47
47
permissions :
@@ -66,12 +66,14 @@ jobs:
66
66
run : rye build
67
67
68
68
- name : Get GitHub OIDC Token
69
+ if : github.repository == 'stainless-sdks/cloudflare-python'
69
70
id : github-oidc
70
71
uses : actions/github-script@v6
71
72
with :
72
73
script : core.setOutput('github_token', await core.getIDToken());
73
74
74
75
- name : Upload tarball
76
+ if : github.repository == 'stainless-sdks/cloudflare-python'
75
77
env :
76
78
URL : https://pkg.stainless.com/s
77
79
AUTH : ${{ steps.github-oidc.outputs.github_token }}
You can’t perform that action at this time.
0 commit comments