hirotomoyamada/Repo File Sync Action

GitHub Actions that sync's two (or more) repos.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
GITHUB_TOKENGitHub Personal Access Token to use to get repos and write secrets no
CONFIG_PATHThe path for the sync configuration file no
PR_LABELSLabels which will be added to the pull request. Defaults to sync. Set to false to turn off no
ASSIGNEESPeople to assign to the pull request. Defaults to none no
PR_TITLEpull request title. no
TARGET_BRANCHValid when SKIP_PR is true. A new branch of the target repo.
COMMIT_BODYCommit message body. Will be appended to commit message, separated by two line returns. Defaults to '' no
COMMIT_EACH_FILECommit each file separately. Defaults to true no
GIT_EMAILThe e-mail address used to commit the synced files. Defaults to the email of the GitHub PAT no
GIT_USERNAMEThe username used to commit the synced files. Defaults to the username of the GitHub PAT no
TMP_DIRThe working directory where all sync operations will be done. Defaults to `tmp-${Date.now().toString()}` no
DRY_RUNRun everything except for nothing will be updated. Defaults to false no
SKIP_CLEANUPSkip removing the temporary directory (useful for debugging). Defaults to false no
OVERWRITE_EXISTING_PROverwrite any existing Sync PR with the new changes. Defaults to true no
SKIP_PRSkips creating a Pull Request and pushes directly to the default branch. Defaults to false no
BRANCH_PREFIXSpecify a different prefix for the new branch in the target repo. Defaults to repo-sync/SOURCE_REPO_NAME no

no outputs