Add base SHA to printout (#297)
Co-authored-by: UltralyticsAssistant <[email protected]>
This commit is contained in:
co-authored by
UltralyticsAssistant
parent
edb4e5ef0d
commit
eabe79a79e
@@ -111,6 +111,7 @@ def ultralytics_actions_info():
|
||||
"github.ref": os.environ.get("GITHUB_REF"),
|
||||
"github.head_ref": os.environ.get("GITHUB_HEAD_REF"),
|
||||
"github.base_ref": os.environ.get("GITHUB_BASE_REF"),
|
||||
"github.base_sha": PR.get("base", {}).get("sha"),
|
||||
}
|
||||
|
||||
if GITHUB_EVENT_NAME == "discussion":
|
||||
|
||||
Reference in New Issue
Block a user