automattic/Push to mirrors

Push built versions of projects from a monorepo to mirror repos.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commit-messageCommit 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-refsSet to `true` to suppress the "Upstream-Ref" footers in mirrored commits. Not recommended. no
source-directoryDirectory 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 }}
tokenGitHub Access Token. This token must allow for pushing to all relevant branches of all relevant mirror repos. yes
upstream-ref-countWhen checking "Upstream-Ref" to find a base commit for a new mirror branch, only consider this many monorepo commits at most. no
upstream-ref-sinceWhen 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
usernameName of the user the token belongs to.yes
user-emailEmail address of the user the token belongs to. If omitted, defaults to `${username}@users.noreply.github.com`. no
working-directoryDirectory 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

no outputs