Skip to content

Commit

Permalink
fix(apis): commit auto generated code (#56698)
Browse files Browse the repository at this point in the history
make build-api-docs makes some file changes now, before this change the
changes wouldn't get added to the commit in the PR. This new workflow
adds them to the PR.
  • Loading branch information
sentaur-athena committed Oct 11, 2023
1 parent 74324a6 commit c9f5629
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 803 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,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

0 comments on commit c9f5629

Please sign in to comment.