mirror of
https://github.com/hacs/default.git
synced 2025-08-14 02:09:16 +00:00

* 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
10 lines
171 B
Python
10 lines
171 B
Python
import os
|
|
import json
|
|
|
|
|
|
def get_event():
|
|
with open(os.getenv("GITHUB_EVENT_PATH"), "r") as event_data:
|
|
event = json.loads(event_data.read())
|
|
|
|
return event
|