Skip to content

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Aug 22, 2025

Automated Release PR

5.0.0 (2025-10-10)

Full Changelog: v4.3.1...v5.0.0

Features

  • feat: SDKs for Organizations and OrganizationsProfile (3c3adc5)
  • fix(ai): rename duplicate parameter in the to_markdown subresource (e107db1)
  • fix(api): RAG-286: Add to_markdown subresource to AI resource (73fa6b1)
  • fix(content_scanning): content scanning terraform resource (16983e5)
  • Revert "Merge branch 'davis/PINGORA-2658' into 'main'" (74a1948)

Bug Fixes

  • do not set headers with default to omit (7b7b62f)

Chores

  • api: update composite API spec (c686a51)
  • api: update composite API spec (412ed20)
  • api: update composite API spec (119f889)
  • api: update composite API spec (65382bf)
  • api: update composite API spec (b3a3cf6)
  • api: update composite API spec (c78ef5e)
  • api: update composite API spec (71a023c)
  • api: update composite API spec (3805db3)
  • api: update composite API spec (c882cba)
  • api: update composite API spec (06eb2a6)
  • api: update composite API spec (10c56f8)
  • api: update composite API spec (e0335d9)
  • api: update composite API spec (1cf726b)
  • api: update composite API spec (9889b9c)
  • api: update composite API spec (f5bb242)
  • api: update composite API spec (21d2e59)
  • api: update composite API spec (7f579af)
  • api: update composite API spec (2edb41d)
  • api: update composite API spec (9f0c410)
  • api: update composite API spec (3836b7d)
  • api: update composite API spec (e428a7a)
  • api: update composite API spec (7476108)
  • api: update composite API spec (36ca7ff)
  • api: update composite API spec (c6223b6)
  • api: update composite API spec (7e91dae)
  • api: update composite API spec (826266e)
  • api: update composite API spec (cd0aa66)
  • api: update composite API spec (bf07bc0)
  • api: update composite API spec (11dff47)
  • api: update composite API spec (918b4ce)
  • api: update composite API spec (e079246)
  • api: update composite API spec (d1ea815)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

Comment on lines +10 to +42
runs-on: 'ubuntu-latest'
name: detect-breaking-changes
if: github.repository == 'cloudflare/cloudflare-python'
steps:
- name: Calculate fetch-depth
run: |
echo "FETCH_DEPTH=$(expr ${{ github.event.pull_request.commits }} + 1)" >> $GITHUB_ENV

- uses: actions/checkout@v4
with:
# Ensure we can check out the pull request base in the script below.
fetch-depth: ${{ env.FETCH_DEPTH }}

- name: Install Rye
run: |
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'
- name: Install dependencies
run: |
rye sync --all-features
- name: Detect removed symbols
run: |
rye run python scripts/detect-breaking-changes.py "${{ github.event.pull_request.base.sha }}"

- name: Detect breaking changes
run: |
# Try to check out previous versions of the breaking change detection script. This ensures that
# we still detect breaking changes when entire files and their tests are removed.
git checkout "${{ github.event.pull_request.base.sha }}" -- ./scripts/detect-breaking-changes 2>/dev/null || true
./scripts/detect-breaking-changes ${{ github.event.pull_request.base.sha }} No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI about 2 months ago

To fix this issue, we should explicitly set minimal required permissions for the workflow/job by adding a permissions block. The simplest and safest starting point is to set contents: read at the workflow level, as the steps only clone/checkout code and do not perform any write operations on issues, deployments, etc. This should be placed at the top level of the YAML file (directly below the name: or on: block) so all jobs inherit these permissions, unless overridden. No additional functionality is added or changed; this only restricts the escalated permissions that the workflow's GitHub token might inherit.


Suggested changeset 1
.github/workflows/detect-breaking-changes.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/detect-breaking-changes.yml b/.github/workflows/detect-breaking-changes.yml
--- a/.github/workflows/detect-breaking-changes.yml
+++ b/.github/workflows/detect-breaking-changes.yml
@@ -1,3 +1,5 @@
+permissions:
+  contents: read
 name: CI
 on:
   pull_request:
EOF
@@ -1,3 +1,5 @@
permissions:
contents: read
name: CI
on:
pull_request:
Copilot is powered by AI and may make mistakes. Always verify output.
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 28 times, most recently from 614af0d to 80f56db Compare August 26, 2025 11:28
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from dcbd71e to 835991c Compare October 10, 2025 16:23
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 835991c to 5ad2609 Compare October 10, 2025 16:28
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5ad2609 to fe60e05 Compare October 10, 2025 16:39
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from fe60e05 to 738ccee Compare October 10, 2025 16:41
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 738ccee to 784fe53 Compare October 10, 2025 17:14
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 784fe53 to 141b5a9 Compare October 10, 2025 17:34
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 141b5a9 to 388fa3a Compare October 10, 2025 17:43
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 2 times, most recently from d4beaf5 to 3710acc Compare October 10, 2025 18:13
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 3710acc to 005d51d Compare October 10, 2025 18:15
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 005d51d to 6ec0abc Compare October 10, 2025 18:18
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 6ec0abc to 7038d1b Compare October 10, 2025 18:45
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 7038d1b to 56b744c Compare October 10, 2025 18:48
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 56b744c to f471616 Compare October 10, 2025 19:04
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from f471616 to c4fd9b3 Compare October 10, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants