lee-lott-actions/Validate Repository Existence
A GitHub Action to check if a repository exists and is a template repository using the GitHub API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-name | The name of the repository to check | yes | — |
| token | GitHub token with repository read access | yes | — |
| owner | The owner of the repository (user or organization) | yes | — |
Outputs
| name | description |
|---|---|
| result | Result of the action ("success" or "failure") |
| repo-exists | Boolean indicating if the repository exists (true for HTTP 200, false otherwise) |
| is-template-repo | Boolean indicating if the repository is a template repository (true if is_template is true, false otherwise) |
| error-message | Error message if the repository existence check fails |