Skip to content
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

fix(apis): commit auto generated code #56698

Merged
merged 12 commits into from
Oct 11, 2023
9 changes: 6 additions & 3 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: openapi
on:
push:
branches:
- master
pull_request:
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not going to merge this change, only here so we can see the action on this PR.


# hack for https://github.com/actions/cache/issues/810#issuecomment-1222550359
env:
Expand Down Expand Up @@ -62,6 +60,11 @@ jobs:
run: |
cp tests/apidocs/openapi-derefed.json sentry-api-schema

- name: Copy publish status into getsentry/sentry-api-schema
if: steps.changes.outputs.api_docs == 'true'
run: |
cp src/sentry/apidocs/api_ownership_stats_dont_modify.json sentry-api-schema

- name: Git Commit & Push
uses: stefanzweifel/git-auto-commit-action@0049e3fa4059ca715255fbbcb7dea4516f02ce0a # v4.15.3
if: steps.changes.outputs.api_docs == 'true'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ sentry-package.json
/tmp
node_modules
/static/app/constants/ios-device-list.tsx
/src/sentry/apidocs/api_ownership_stats_dont_modify.json
/src/sentry/assets.json
/src/sentry/static/version
/src/sentry/static/sentry/dist/
Expand Down
Loading
Loading