fingerprintjs/OpenAPI Sync
GitHub Action that synchronizes OpenAPI schema files between repositories
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source_path | Source repository path | yes | — |
| config_path | Path to the sync config file | yes | — |
| target_repo | Target repository name. Must be under the same owner as the source repo. | yes | — |
| target_branch | Branch name for the PR in target repo | yes | — |
| target_repo_github_token | GitHub token for target repo access (checkout, PR creation, labels, status comments) | yes | — |
| source_repo_github_token | GitHub token for source repo access (commenting on source PRs) | no | — |
| pr_title | Pull Request title | no | Sync OpenAPI Schema |
| commit_message | Commit message | no | chore: sync OpenAPI schema |
| labels | Comma-separated PR labels | no | "" |
| dry_run | Only report diff | no | false |
| source_pr_number | Source PR number | no | — |
| source_pr_merged | Whether the source PR is already merged (true/false). If false, adds warning to target PR. | no | true |
| comment_on_source_pr | Whether to post a link comment on the source PR (true/false). | no | true |
| pre_sync_script | Shell script to run before the sync. Has access to SOURCE_PATH, TARGET_PATH, and CONFIG_PATH env vars. | no | "" |
| post_sync_script | Shell script to run after the sync writes files. Has access to SOURCE_PATH, TARGET_PATH, CONFIG_PATH, and SYNC_HAS_DIFF env vars. Any files written to TARGET_PATH will be included in the PR. | no | "" |
Outputs
| name | description |
|---|---|
| has_diff | Whether meaningful changes were detected |
| diff_summary | Summary of changes |
| target_pr_number | PR number created/updated in target repo |