Skip to content

fix(workflow): Replace getSantry with dedicated GH app for api schema workflow#111720

Merged
Jeffreyhung merged 2 commits intomasterfrom
jeffreyhung/update-api-schema-update-to-dedicated-app
Mar 27, 2026
Merged

fix(workflow): Replace getSantry with dedicated GH app for api schema workflow#111720
Jeffreyhung merged 2 commits intomasterfrom
jeffreyhung/update-api-schema-update-to-dedicated-app

Conversation

@Jeffreyhung
Copy link
Copy Markdown
Member

We added the new default rulesets that requires all commit to go through PRs and that breaks this workflow.
Added the following changes to fix it

  • created a new dedicated github app for this
  • added the github app to allowlist in the ruleset
  • update the workflow to use the new github app instead of getSantry
  • added the app-id and private key through org secrets and variables
  • replaced getsentry/action-github-app-token with actions/create-github-app-token so that we have options to control the repo scope of the short-live token
  • update the git commit info to use the github app

@Jeffreyhung Jeffreyhung requested a review from a team as a code owner March 27, 2026 17:02
@Jeffreyhung Jeffreyhung requested a review from billyvg March 27, 2026 17:02
Comment thread .github/workflows/openapi.yml Outdated
@Jeffreyhung Jeffreyhung changed the title use different github app Replace getSantry with dedicated GH app for api schema workflow Mar 27, 2026
@Jeffreyhung Jeffreyhung changed the title Replace getSantry with dedicated GH app for api schema workflow fix(workflow): Replace getSantry with dedicated GH app for api schema workflow Mar 27, 2026
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.

Comment thread .github/workflows/openapi.yml
@Jeffreyhung Jeffreyhung merged commit 492a2ed into master Mar 27, 2026
58 checks passed
@Jeffreyhung Jeffreyhung deleted the jeffreyhung/update-api-schema-update-to-dedicated-app branch March 27, 2026 17:37
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants