danielbayley/Mirror files action
GitHub action to easily mirror files between repositories.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| git_author_name | GIT_AUTHOR_NAME or github.actor | no | ${{github.actor}} |
| git_author_email | GIT_AUTHOR_EMAIL or github.event.pusher.email | no | ${{github.event.pusher.email}} |
| git_committer_name | GIT_COMMITTER_NAME or inputs.git_author_name | no | — |
| git_committer_email | GIT_COMMITTER_EMAIL or inputs.git_author_email | no | — |
| github_token | Required unless env.GITHUB_TOKEN is set. Generate an access token, then add to your repository secrets. | no | — |
| source_files | Specify an [extended] glob pattern of matching files to copy. | yes | — |
| source_repo | Optionally specify a different repository source to copy files from. | no | — |
| target_repo | Specify the target repository. The owner will match the source repo if only the name is given. | yes | — |
| target_path | Optionally specify a different target file path other than the repository root. | no | — |
| source_branch | Optionally specify a source branch of your repository. | no | — |
| target_branch | Optionally specify a target branch of the target repo. | no | — |
| branch | Specify if both branches are the same, but differ from the default. | no | main |
| commit_message | The git commit --message to appear on the target repository. | no | — |
Outputs
no outputs