Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Aug 21, 2024
1 parent d2c0e0a commit d987fd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/validate-pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ def validate_toml(file, can_apply_for_validators, can_apply_for_bonds, can_apply
return False
else:
return False

return True

def main():
alias = get_alias_from_env()
Expand All @@ -240,6 +242,7 @@ def main():

file_alias = get_alias_from_file(file)
if not alias.lower() in file_alias.lower():
print("alias {} doesn't correspond".format(alias.lower()))
exit(1)

print("{} is allowed, checking if its valid...".format(file))
Expand Down

0 comments on commit d987fd5

Please sign in to comment.