Adding github actions secrets (#1681)

* Fixed pre-commit issues

* Fixed mypy linting error

* Fix flake8 error

* Update PublicKey.py

* Update PublicKey.py

* Update setup.py

* Update setup.py

* Update requirements.txt

Co-authored-by: Liuyang Wan <tsfdye@gmail.com>

Co-authored-by: Liuyang Wan <tsfdye@gmail.com>
This commit is contained in:
Chris Keating
2021-03-07 05:40:52 +08:00
committed by GitHub
co-authored by Liuyang Wan
parent 7db1b0c924
commit c90c050ef1
11 changed files with 244 additions and 2 deletions
+3
View File
@@ -37,6 +37,7 @@ from github.PaginatedList import PaginatedList
from github.Path import Path
from github.Permissions import Permissions
from github.Project import Project
from github.PublicKey import PublicKey
from github.PullRequest import PullRequest
from github.PullRequestComment import PullRequestComment
from github.Referrer import Referrer
@@ -237,6 +238,7 @@ class Repository(CompletableGithubObject):
def create_repository_dispatch(
self, event_type: str, client_payload: Dict[str, Any]
) -> bool: ...
def create_secret(self, secret_name: str, unencrypted_value: str) -> bool: ...
def create_source_import(
self,
vcs: str,
@@ -409,6 +411,7 @@ class Repository(CompletableGithubObject):
def get_projects(
self, state: Union[str, _NotSetType] = ...
) -> PaginatedList[Project]: ...
def get_public_key(self) -> PublicKey: ...
def get_pull(self, number: int) -> PullRequest: ...
def get_pulls(
self,