Skip to content

Code navigation is now available for all CodeQL and Java repositories

Jump to definition and find all references are now available for all CodeQL and Java repositories on GitHub.

When viewing a CodeQL or Java file on github.com, clicking on a function or method name exposes a code navigation card with links to all of its definitions and references within the same repository. We use the semantic library to find definitions and call sites in your code.

Learn more about jump to definition and find all references

Check out the semantic library

We are expanding support for the triage and maintain roles in the REST API. Users with the triage or maintain role can now use endpoints that reflect what they can do in a repository, such as adding a label to an issue. Additionally, these new permissions can now be granted and managed via the API and will show up as assigned roles in API responses.

Learn more about support for the triage and maintain roles in the REST API

See more

Previously, you could only create a draft pull request when opening a new pull request. Now you can convert an existing pull request into a draft at any time.

Here are a few scenarios where this feature enhancement is useful:

  • if a pull request was opened in a non-draft state by mistake.
  • when a pull request is reviewed and needs additional work; converting the pull request to a draft communicates the pull request is being updated.
  • when a pull request is reviewed and approved but the author wants to block merge for other reasons.

Any user with write access to the repository can convert a pull request to a draft pull request.

To convert a pull request to a draft, look for the “Convert to draft” link in the Reviewers section on the pull request’s Conversations tab. Clicking the link displays a modal asking you to confirm the change.

Note, if you convert a pull request to a draft, users who are subscribed to the pull request will remain subscribed.

Learn more about draft pull requests and send us your feedback

See more