Skip to content

Add has_code to repository REST API #35214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

6543
Copy link
Member

@6543 6543 commented Aug 5, 2025

similar to how we can enable/disable repos or issues on a repo add the code unit as option to it.

affects

PATCH /repos/{owner}/{repo}

Sponsored by Kithara Software GmbH

@6543 6543 added type/enhancement An improvement of existing functionality topic/api Concerns mainly the API labels Aug 5, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 5, 2025
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code labels Aug 5, 2025
@6543

This comment was marked as resolved.

@lunny
Copy link
Member

lunny commented Aug 5, 2025

It's better to have a test.

@6543
Copy link
Member Author

6543 commented Aug 7, 2025

@lunny tests added :)

also did cover some more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code topic/api Concerns mainly the API type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants