Publishing to GitHub Marketplace
Instructions for maintainers of this repository.
Workflows in the action repository (what is and is not restricted)
Older GitHub documentation sometimes quoted a line suggesting that no workflow files may exist in a Marketplace action repository. That is not a useful summary of current practice (2026). There is no blanket prohibition on having .github/workflows/ in an action repo.
What is true:
-
CI and quality workflows are normal. Repositories often ship workflows that run tests, linting, or self-checks on pull requests and
main. That demonstrates health and is aligned with Marketplace expectations. -
action.ymldefines the action;.github/workflows/does not ship to consumers. Workflows under your repo run only in your repository. Users still add their own workflow files and reference your action withuses:. -
User-facing “templates” belong in README (copy-paste YAML), a template repository, or separate examples—not as something that magically appears in a consumer’s repo because you committed a file.
Do not confuse “workflows for the action’s own CI” with “bundling a workflow that targets someone else’s repository.” The latter is not how users consume actions.
Official reference: Publishing actions in GitHub Marketplace (read the current page; policies evolve).
Documentation site (GitHub Pages, in this repository)
The Antora documentation site is authored under docs/ (playbook, package.json, and content/). It is built and deployed by .github/workflows/publish-docs.yml (upload-pages-artifact + deploy-pages).
Public URL (project site): https://antora-supplemental.github.io/antora-build-action/
Triggers: pushes to main that touch docs/ or the workflow file, workflow_dispatch, and a daily schedule**.
Marketplace publishing checklist
-
Accept terms. The organization (or you) must accept the GitHub Marketplace Developer Agreement.
-
Repository contents (typical expectations):
-
action.ymloraction.yamlat the repo root (or a documented subdirectory if publishing from there). -
README.mdwith clear usage (Marketplace ingests Markdown from this file for the listing). -
License: include a valid
LICENSEfile that matches how you distribute the action (add one at the repo root if missing).
-
-
Create a release:
-
Repo → Releases → Draft a new release.
-
Choose a tag (e.g.
v1.0.0), add a title and notes. -
Under Release Action, check Publish this Action to the GitHub Marketplace.
-
Pick a Primary category (e.g. "Continuous integration").
-
Optionally pick Another category.
-
Publish release.
-
-
The action will appear on GitHub Actions Marketplace; users reference it as
antora-supplemental/antora-build-action@v2. New patch releases (e.g.v2.0.1) update the listing. -
Listing copy. Keep README.md concise; deep content lives in
docs/(this site) and the live URL—link it prominently from README.md.