-
Notifications
You must be signed in to change notification settings - Fork 90
release: 5.0.0 #2672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
release: 5.0.0 #2672
Conversation
| 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
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 4 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.
-
Copy modified lines R1-R2
| @@ -1,3 +1,5 @@ | ||
| permissions: | ||
| contents: read | ||
| name: CI | ||
| on: | ||
| pull_request: |
614af0d to
80f56db
Compare
e3653cc to
6bfc71b
Compare
6bfc71b to
060d00f
Compare
060d00f to
30c8b89
Compare
30c8b89 to
d4f7c1e
Compare
d4f7c1e to
9e58335
Compare
…Catalog routes * feat(r2_data_catalog): Configure SDKs/Terraform to use R2 Data Catalog routes
9e58335 to
1a0412a
Compare
1a0412a to
d8a95b0
Compare
d8a95b0 to
58c1af9
Compare
* chore(zero_trust_gateway_proxy_endpoint): unsupported auth scheme * chore(abuse_report): unsupported auth scheme
58c1af9 to
6e47727
Compare
6e47727 to
6d5ca7b
Compare
* docs: Deprecate API Shield Schema Validation resources This change marks old schema validation resources as deprecated.
6d5ca7b to
1643c4b
Compare
1643c4b to
b5b787a
Compare
b5b787a to
ae450fc
Compare
Automated Release PR
5.0.0 (2025-12-08)
Full Changelog: v4.3.1...v5.0.0
Features
Bug Fixes
Chores
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