Skip to content

ci: Try to fix bump-api-schema jobs#17199

Merged
BYK merged 1 commit intomasterfrom
BYK-patch-1
Mar 31, 2026
Merged

ci: Try to fix bump-api-schema jobs#17199
BYK merged 1 commit intomasterfrom
BYK-patch-1

Conversation

@BYK
Copy link
Copy Markdown
Member

@BYK BYK commented Mar 31, 2026

Main change here is moving the token before checkout and using that token for check out to make sure we have the right permissions being active.

Main change here is moving the token _before_ checkout and using that token for check out to make sure we have the right permissions being active.
@BYK BYK requested a review from sergical March 31, 2026 20:14
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Building Building Preview, Comment Mar 31, 2026 8:14pm
sentry-docs Building Building Preview, Comment Mar 31, 2026 8:14pm

Request Review

@BYK BYK merged commit 6224690 into master Mar 31, 2026
16 of 18 checks passed
@BYK BYK deleted the BYK-patch-1 branch March 31, 2026 20:15
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

- name: Get auth token
id: token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
uses: actions/create-github-app-token@v3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workflow actions no longer pin commit SHAs

High Severity

The workflow switched from SHA-pinned actions to mutable tags in .github/workflows/bump-api-schema-sha.yml (actions/create-github-app-token@v3 and actions/checkout@v6). Tag references can change without a PR in this repo, so the job can execute unreviewed code with access to secrets and a write-capable app token.

Additional Locations (1)
Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant