Skip to content

Commit

Permalink
Add: Enable GitHub code scanning API
Browse files Browse the repository at this point in the history
Allow to use the GitHub code scanning API
  • Loading branch information
bjoernricks committed Oct 19, 2023
1 parent 070f2de commit efe1544
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pontos/github/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from pontos.github.api.artifacts import GitHubAsyncRESTArtifacts
from pontos.github.api.branch import GitHubAsyncRESTBranches
from pontos.github.api.client import GitHubAsyncRESTClient
from pontos.github.api.code_scanning import GitHubAsyncRESTCodeScanning
from pontos.github.api.contents import GitHubAsyncRESTContent
from pontos.github.api.dependabot import GitHubAsyncRESTDependabot
from pontos.github.api.helper import (
Expand Down Expand Up @@ -166,6 +167,13 @@ def secret_scanning(self) -> GitHubAsyncRESTSecretScanning:
"""
return GitHubAsyncRESTSecretScanning(self._client)

@property
def code_scanning(self) -> GitHubAsyncRESTCodeScanning:
"""
Code scanning related API
"""
return GitHubAsyncRESTCodeScanning(self._client)

@property
def teams(self) -> GitHubAsyncRESTTeams:
"""
Expand Down

0 comments on commit efe1544

Please sign in to comment.