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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 20, 2026
- License
- MIT
Pinned Snippet
uses: lee-lott-actions/update-repo-visibility@5b72cb57caf3b948c6f9c96e04d18197745263f6 # v1.4.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-name | The name of the repository to update | yes | — |
| owner | The owner of the repository (user or organization) | yes | — |
| token | GitHub token with repository write access | yes | — |
| visibility | The visibility to set for the repository (public, private, or internal) | yes | private |
Outputs
| name | description |
|---|---|
| result | Result of the visibility update ("success" or "failure") |
| error-message | Error message if the visibility update fails |