mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
temporary fix for foreign pull request numbers in CI
This commit is contained in:
parent
0ca9a6005a
commit
266ca700c9
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,10 @@ def get_release_type_github(Log, github_token):
|
|||
match = re.search("pull request #(\d+)", line)
|
||||
if match:
|
||||
pr_number = match.group(1)
|
||||
pr = repo.get_pull(int(pr_number))
|
||||
try:
|
||||
pr = repo.get_pull(int(pr_number))
|
||||
except:
|
||||
continue
|
||||
for label in pr.labels:
|
||||
labels.add(label.name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue