lee-lott-actions/Update Repository Visibility

A GitHub Action to update the visibility of a repository to public, private, or internal using the GitHub API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 20, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: lee-lott-actions/update-repo-visibility@5b72cb57caf3b948c6f9c96e04d18197745263f6 # v1.4.0

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

namedescriptionrequireddefault
repo-nameThe name of the repository to updateyes
ownerThe owner of the repository (user or organization)yes
tokenGitHub token with repository write accessyes
visibilityThe visibility to set for the repository (public, private, or internal)yesprivate
namedescription
resultResult of the visibility update ("success" or "failure")
error-messageError message if the visibility update fails