linkedinlearning/Update Branches

Copy selected files from one branch to all other branches in the repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
source-branchBranch to copy files FROM. Defaults to the repository's default branch.no""
filesNewline/comma-separated paths, directory prefixes, and/or globs to copy. When empty, a default list is used (LICENSE, NOTICE, README.md, CONTRIBUTING.md, .vscode/, .devcontainer/, .github/).no""
include-branchesGlob(s) of target branches to include. Defaults to all branches.no*
exclude-branchesGlob(s) of target branches to exclude. The source branch is always excluded.no""
modeHow changes land: 'push' (commit directly) or 'pr' (open a pull request per branch).nopush
dry-runIf 'true', compute and report planned changes without making any commits/pushes/PRs.nofalse
commit-messageCommit message. {source-branch} is substituted.nochore: sync shared files from {source-branch}
pr-titlePull request title (pr mode). {source-branch} is substituted.nochore: sync shared files from {source-branch}
tokenToken used for API/Git operations.no${{ github.token }}
namedescription
updated-branchesJSON array of branches that received changes.
skipped-branchesJSON array of {branch, reason} for skipped/failed branches.
summaryHuman-readable summary of the run.