dash0hq/Sync docs to the Dash0 website

Transform documentation files from a source repository according to its transformations.yaml and open (or update) a pull request in the Dash0 documentation repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
source-rootPath (relative to the caller's workspace) to the root of the source repository — the directory that contains the documentation files referenced from the transformations file.no.
transformations-filePath (relative to source-root) to the transformations.yaml file describing the sync.no.github/workflows/sync-docs/transformations.yaml
dry-runWhen "true", stop after applying the transformations (including the coverage check, when the transformations file declares one): the target repository is not checked out, nothing is copied, and no commit or pull request is created. Use this to detect docs drift early on non-release builds. Dry runs need none of the target-side inputs, so they also work in contexts where no token is available.nofalse
target-repositoryThe owner/name of the documentation repository the sync writes into. Callers should supply this from a repository secret or variable rather than hardcoding it in a public workflow file. Required unless dry-run is "true".no""
target-directoryPath (relative to the target repository root) that receives the transformed files. This is where the transformations' `target` paths are resolved from. Callers should supply this from a repository secret or variable rather than hardcoding it in a public workflow file. Required unless dry-run is "true".no""
target-github-tokenToken used to push the sync branch and open the pull request in the target repository. Must have `contents:write` and `pull-requests:write` on the target repository. Required unless dry-run is "true".no""
target-base-branchBranch in the target repository the pull request is opened against.nomain
pr-branchBranch name used for the sync pull request in the target repository. Required unless dry-run is "true".no""
pr-titleTitle of the pull request opened against the target repository. Required unless dry-run is "true".no""
pr-bodyBody of the pull request opened against the target repository. Required unless dry-run is "true".no""
pr-reviewersComma-separated GitHub handles (users or org/team slugs) requested as reviewers on a newly opened pull request. Ignored when an open pull request for pr-branch already exists.no""
pr-assigneesComma-separated GitHub handles assigned to a newly opened pull request. Ignored when an open pull request for pr-branch already exists.no""
commit-messageCommit message used when the sync produces changes.no""

no outputs