Add preflight (#490)

* Add preflight

* fix syntax

* move check

* get event

* print

* return event

* use path

* tt

* move to helper

* add issue_comment

* remove should run

* check owner

* add more information to the logs

* test

* add finished

* move keys

* Update errors

* remove repo

* fix JQ run

* filter
This commit is contained in:
Joakim Sørensen
2020-05-28 16:53:45 +02:00
committed by GitHub
parent 51639d6624
commit 9e8788c060
19 changed files with 135 additions and 89 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ def get_info():
content = ""
for alternative in ALTERNATIVES[info]:
if os.path.exists(f"/tmp/addition/{alternative}"):
if os.path.exists(f"/tmp/repositories/addition/{alternative}"):
print(f"Found info file at /{alternative}")
with open(f"/tmp/addition/{alternative}", "r") as alt:
with open(f"/tmp/repositories/addition/{alternative}", "r") as alt:
content = alt.read()
return content