hirotomoyamada/Repo File Sync Action
GitHub Actions that sync's two (or more) repos.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub Personal Access Token to use to get repos and write secrets | no | — |
| CONFIG_PATH | The path for the sync configuration file | no | — |
| PR_LABELS | Labels which will be added to the pull request. Defaults to sync. Set to false to turn off | no | — |
| ASSIGNEES | People to assign to the pull request. Defaults to none | no | — |
| PR_TITLE | pull request title. | no | — |
| TARGET_BRANCH | Valid when SKIP_PR is true. A new branch of the target repo. | — | — |
| COMMIT_BODY | Commit message body. Will be appended to commit message, separated by two line returns. Defaults to '' | no | — |
| COMMIT_EACH_FILE | Commit each file separately. Defaults to true | no | — |
| GIT_EMAIL | The e-mail address used to commit the synced files. Defaults to the email of the GitHub PAT | no | — |
| GIT_USERNAME | The username used to commit the synced files. Defaults to the username of the GitHub PAT | no | — |
| TMP_DIR | The working directory where all sync operations will be done. Defaults to `tmp-${Date.now().toString()}` | no | — |
| DRY_RUN | Run everything except for nothing will be updated. Defaults to false | no | — |
| SKIP_CLEANUP | Skip removing the temporary directory (useful for debugging). Defaults to false | no | — |
| OVERWRITE_EXISTING_PR | Overwrite any existing Sync PR with the new changes. Defaults to true | no | — |
| SKIP_PR | Skips creating a Pull Request and pushes directly to the default branch. Defaults to false | no | — |
| BRANCH_PREFIX | Specify a different prefix for the new branch in the target repo. Defaults to repo-sync/SOURCE_REPO_NAME | no | — |
Outputs
no outputs