diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 56c0ffe..83812a3 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,6 +1,6 @@ name: "CodeQL analysis" -on: [push, pull_request] +on: [pull_request] jobs: build: diff --git a/githubapp/okta.py b/githubapp/okta.py index 1360e41..df4bc5a 100644 --- a/githubapp/okta.py +++ b/githubapp/okta.py @@ -69,7 +69,7 @@ def get_or_create_eventloop(): try: username = getattr(user.profile, self.USERNAME_ATTRIBUTE) username = username.split("@")[0] - username = re.sub('[^0-9a-zA-Z-]+', '-', username) + username = re.sub("[^0-9a-zA-Z-]+", "-", username) member_list.append( { "username": username,