-
Notifications
You must be signed in to change notification settings - Fork 29.4k
chore: Add GitHub workflow to sync public API docs (no-changelog) #15985
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: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cubic found 3 issues across 2 files. Review them in cubic.dev
React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai
to give specific feedback.
|
||
# TODO: Check this | ||
# The token needs write access to the docs repository to push branches and create PRs | ||
token: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default GITHUB_TOKEN lacks permissions to create PRs in external repositories
token: ${{ secrets.GITHUB_TOKEN }} | |
token: ${{ secrets.DOCS_REPO_PAT }} |
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
055bdbb
to
4cfc1d2
Compare
4cfc1d2
to
163b83b
Compare
Summary
When merging #12329 I found out that the public API OpenAPI schema is not synced with the n8n-io/n8n-docs repo.
This PR adds a GitHub workflow to sync any changes to the schema and raise a PR in the docs repo when a PR is merged to
master
.Related Linear tickets, Github issues, and Community forum posts
Related: #15969
Review / Merge checklist
[ ] Docs updated or follow-up ticket created.[ ] Tests included.[ ] PR Labeled withrelease/backport
(if the PR is an urgent fix that needs to be backported)