actions-marketplace-validations/Upload Charm Docs

Upload charm documentation to charmhub

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Sep 2, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/canonical_upload-charm-docs@62c3badfb125421a81aa40480eb6321298f62167 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
dry_runIf enabled, only log the changes that would be made. nofalse
delete_topicsWhether to delete topics from the documentation server if they are no longer needed. notrue
discourse_hostThe base path(hostname) to the discourse server.yes
discourse_api_usernameThe discourse API username to use for interactions with the server. yes
discourse_api_keyThe discourse API key to use for interactions with the server. yes
discourse_category_idThe category identifier to use on discourse for all topics.no41
github_tokenThe github access token (secrets.GITHUB_TOKEN) to create pull request on Github and retrieve the current documentation. yes
base_branchThe name of the base branch for the repository. nomain
commit_shaThe SHA of the commit to be used when running the action. If not provided, it falls back to the pull request head SHA or (if outside of a PR) to the value of the environment variable GITHUB_SHA. no
charm_dirRelative name of the directory where the metadata.yaml or charmcraft.yaml files are located if they are not in the root directory of the repository. The docs directory is also located under this directory. no""
namedescription
index_urlA JSON map with the urls and the actions that have been taken against them.
topicsA JSON map with the urls and the actions that have been taken against them.
pr_linkA link of the community contribution PR.
pr_actionA description of which actions for the PR has been taken among created, closed and updated.