step-security/Repo File Sync Action

GitHub Action to Sync Files like Workflows Between Repositories.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
GH_PATGitHub Personal Access Token to use to get repos and write secrets no
GH_INSTALLATION_TOKENGitHub App Installation Token to used to access repos no
CONFIG_PATHThe path for the sync configuration file no
IS_FINE_GRAINEDLabel GH_PAT as a fine grained token no
PR_LABELSLabels which will be added to the pull request. Defaults to sync. Set to false to turn off no
PR_BODYAdditional content to add in the PR description. Defaults to '' no
ASSIGNEESUsers to assign to the pull request. Defaults to none no
REVIEWERSUsers to request a review of the pull request from. Defaults to none no
TEAM_REVIEWERSTeams to request a review of the pull request from. Defaults to none no
COMMIT_PREFIXPrefix for commit message and pull request title. Defaults to 🔄 no
COMMIT_BODYCommit message body. Will be appended to commit message, separated by two line returns. Defaults to '' no
COMMIT_EACH_FILECommit each file seperately. 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
ORIGINAL_MESSAGERe-use the original commit message for commits. Works only if the action is triggered by pushing one commit. Defaults to false no
COMMIT_AS_PR_TITLERe-use the commit message as PR title. Works only if ORIGINAL_MESSAGE is on and PR has one commit. Defaults to false 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
FORKSpecify the user account that will be used in a fork and pull-request workflow. Defaults false. no
namedescription
pull_request_urlsThe URLs to the created Pull Requests as an array