mirror of
https://github.com/exo-explore/exo.git
synced 2025-10-23 02:57:14 +03:00
github env vars
This commit is contained in:
@@ -74,9 +74,9 @@ def gen_diff(table_old, table_new):
|
|||||||
|
|
||||||
def create_json_report(table, is_diff=False):
|
def create_json_report(table, is_diff=False):
|
||||||
timestamp = datetime.now(timezone.utc).isoformat()
|
timestamp = datetime.now(timezone.utc).isoformat()
|
||||||
commit_sha = os.environ.get('CIRCLE_SHA1', 'unknown')
|
commit_sha = os.environ.get('GITHUB_SHA', 'unknown')
|
||||||
branch = os.environ.get('CIRCLE_BRANCH', 'unknown')
|
branch = os.environ.get('GITHUB_REF_NAME', 'unknown')
|
||||||
pr_number = os.environ.get('CIRCLE_PR_NUMBER', '')
|
pr_number = os.environ.get('GITHUB_EVENT_NUMBER', '')
|
||||||
|
|
||||||
if is_diff:
|
if is_diff:
|
||||||
files = [{
|
files = [{
|
||||||
|
|||||||
Reference in New Issue
Block a user