Skip to content

Commit 10a54b5

Browse files
committed
xyz
Signed-off-by: Peixin Li <[email protected]>
1 parent 75dc75f commit 10a54b5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

signoff-check/signoff-check

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,16 @@ from github import Github
2929

3030
SIGNOFF_REGEX = re.compile('Signed-off-by:')
3131

32-
32+
# ada
3333
def signoff(token: str, owner: str, repo_name: str, pull_number: int):
34+
3435
gh = Github(token, per_page=100, user_agent='signoff-check', verify=True)
3536
pr = gh.get_repo(f"{owner}/{repo_name}").get_pull(pull_number)
3637
for c in pr.get_commits():
38+
39+
40+
41+
3742
if SIGNOFF_REGEX.search(c.commit.message):
3843
print('Found signoff.\n')
3944
print(f"Commit sha:\n{c.commit.sha}")

0 commit comments

Comments
 (0)