actions-marketplace-validations/Push to mirrors
Push built versions of projects from a monorepo to mirror repos.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| commit-message | Commit message to use for the mirror commits. If omitted, it will be read from the monorepo checkout pointed at by `source-directory`. | no | — |
| no-upstream-refs | Set to `true` to suppress the "Upstream-Ref" footers in mirrored commits. Not recommended. | no | — |
| source-directory | Directory containing a checkout of the commit being mirrored. Used to fetch git metadata for the mirror commits, and to find the base commit for new mirror branches. | no | ${{ github.workspace }} |
| token | GitHub Access Token. This token must allow for pushing to all relevant branches of all relevant mirror repos. | yes | — |
| upstream-ref-count | When checking "Upstream-Ref" to find a base commit for a new mirror branch, only consider this many monorepo commits at most. | no | — |
| upstream-ref-since | When checking "Upstream-Ref" to find a base commit for a new mirror branch, only consider monorepo commits since this date (in any format accepted by `git log`'s `--since` or `--since-as-filter` parameter). | no | — |
| username | Name of the user the token belongs to. | yes | — |
| user-email | Email address of the user the token belongs to. If omitted, defaults to `${username}@users.noreply.github.com`. | no | — |
| working-directory | Directory containing the contents of the mirror repositories to push. This directory must contain a file `mirrors.txt` that contains, one per line, the GitHub repository names (with owner) of the mirrors to push to. The contents of each mirror must be in identically-named subdirectories. | yes | — |
Outputs
no outputs