alieron/Sync Path PR
Sync selected files from another git repository into this repository using path-specific pull requests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source-repo | Git clone URL or path for the source repository. | yes | — |
| source-ref | Branch, tag, or commit SHA to copy from in the source repository. Defaults to the source repository default branch. | no | "" |
| source-path | Directory path inside the source repository that contains the files. | yes | — |
| target-path | Directory path inside this repository where the files are copied. | yes | — |
| target-ref | Branch or ref to use as the pull request base in this repository. Defaults to this repository's default branch. | no | "" |
| files | Newline-separated list of files to sync, relative to source-path and target-path. | yes | — |
| date-format | Format used for dates in pull request titles, branches, comments, and bodies. Supported tokens are dd, mm, yy, and yyyy. | no | dd-mm-yyyy |
| token | GitHub token for creating PRs in the destination repo. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| pr-number | Pull request number, when a sync PR exists. |
| pr-url | Pull request URL, when a sync PR exists. |
| pr-created | Whether a new PR was created. |
| pr-replaced | Whether a stale existing sync PR was replaced by a new PR. |
| sync-id | Stable identifier for this sync configuration. |
| source-ref | Resolved source ref copied from the source repository. |
| target-ref | Destination ref used as the pull request base. |