Skip to content

Commit 3e60cbe

Browse files
Merge pull request #2741 from cloudflare/release-please--branches--main--changes--next--components--cloudflare
release: 6.0.0
2 parents 2635a45 + b3af6d7 commit 3e60cbe

901 files changed

Lines changed: 52909 additions & 38561 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: CI
22
on:
33
push:
4-
branches-ignore:
5-
- 'generated'
6-
- 'codegen/**'
7-
- 'integrated/**'
8-
- 'stl-preview-head/**'
9-
- 'stl-preview-base/**'
4+
branches:
5+
- '**'
6+
- '!integrated/**'
7+
- '!stl-preview-head/**'
8+
- '!stl-preview-base/**'
9+
- '!generated'
10+
- '!codegen/**'
11+
- 'codegen/stl/**'
1012
pull_request:
1113
branches-ignore:
1214
- 'stl-preview-head/**'
@@ -21,7 +23,7 @@ jobs:
2123
timeout-minutes: 10
2224
name: lint
2325
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
24-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
26+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2527
permissions:
2628
contents: read
2729
steps:
@@ -42,7 +44,7 @@ jobs:
4244
timeout-minutes: 5
4345
name: build
4446
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
45-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
47+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
4648
permissions:
4749
contents: read
4850
id-token: write
@@ -61,14 +63,18 @@ jobs:
6163
run: ./scripts/build
6264

6365
- name: Get GitHub OIDC Token
64-
if: github.repository == 'stainless-sdks/cloudflare-node'
66+
if: |-
67+
github.repository == 'stainless-sdks/cloudflare-node' &&
68+
!startsWith(github.ref, 'refs/heads/stl/')
6569
id: github-oidc
66-
uses: actions/github-script@v6
70+
uses: actions/github-script@v8
6771
with:
6872
script: core.setOutput('github_token', await core.getIDToken());
6973

7074
- name: Upload tarball
71-
if: github.repository == 'stainless-sdks/cloudflare-node'
75+
if: |-
76+
github.repository == 'stainless-sdks/cloudflare-node' &&
77+
!startsWith(github.ref, 'refs/heads/stl/')
7278
env:
7379
URL: https://pkg.stainless.com/s
7480
AUTH: ${{ steps.github-oidc.outputs.github_token }}
@@ -98,7 +104,7 @@ jobs:
98104
timeout-minutes: 10
99105
name: examples
100106
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
101-
if: github.repository == 'cloudflare/cloudflare-typescript' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
107+
if: github.repository == 'cloudflare/cloudflare-typescript' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
102108
permissions:
103109
contents: read
104110
steps:

.github/workflows/semgrep.yml

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
1+
name: Semgrep OSS scan
12
on:
3+
pull_request: {}
4+
push:
5+
branches: [main, master]
26
workflow_dispatch: {}
37
schedule:
4-
- cron: '0 4 * * *'
5-
name: Semgrep config
8+
- cron: '0 0 15 * *'
9+
concurrency:
10+
group: semgrep-${{ github.event_name }}-${{ github.head_ref || github.run_id }}
11+
cancel-in-progress: true
12+
permissions:
13+
contents: read
614
jobs:
715
semgrep:
8-
name: semgrep/ci
9-
runs-on: ubuntu-latest
10-
permissions:
11-
contents: read
12-
env:
13-
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
14-
SEMGREP_URL: https://cloudflare.semgrep.dev
15-
SEMGREP_APP_URL: https://cloudflare.semgrep.dev
16-
SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version
17-
container:
18-
image: semgrep/semgrep
16+
name: semgrep-oss
17+
runs-on: ubuntu-slim
1918
steps:
20-
- uses: actions/checkout@v4
21-
- run: semgrep ci
19+
- uses: actions/checkout@v5
20+
with:
21+
fetch-depth: 1
22+
- id: cache-semgrep
23+
uses: actions/cache@v5
24+
with:
25+
path: ~/.local
26+
key: semgrep-1.160.0-${{ runner.os }}
27+
- if: steps.cache-semgrep.outputs.cache-hit != 'true'
28+
run: pip install --user semgrep==1.160.0
29+
- run: echo "$HOME/.local/bin" >> "$GITHUB_PATH"
30+
- run: semgrep scan --config=auto

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.prism.log
2+
.stdy.log
23
node_modules
34
yarn-error.log
45
codegen.log

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "6.0.0-beta.2"
2+
".": "6.0.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 2130
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0e49d1dc0490c869be746d59e3e82fa07c02edae5f9b421033c9b94807974de6.yml
3-
openapi_spec_hash: 6858d3cd0d37b23dac9544a532a19d82
4-
config_hash: 591b4fc9102b68593471cf59ef305cb8
1+
configured_endpoints: 2191
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a6c352830d1270d0abb5bb983058ea21815e1bb7d2e163965335dcb0e706f057.yml
3+
openapi_spec_hash: aa452e4dfaec546a7e50ef8665bd39f4
4+
config_hash: d3379006654eb5479a62d9576648acc5

0 commit comments

Comments
 (0)