add branch and sha info to alerting schema (#103631)

https://github.com/pytorch/pytorch/pull/103897 is used for testing
Pull Request resolved: https://github.com/pytorch/pytorch/pull/103631
Approved by: https://github.com/huydhn
diff --git a/tools/alerts/create_alerts.py b/tools/alerts/create_alerts.py
index dc59091..33e595f 100644
--- a/tools/alerts/create_alerts.py
+++ b/tools/alerts/create_alerts.py
@@ -266,6 +266,8 @@
             "OncallTeams": [],
             "OncallIndividuals": [],
             "Flags": [],
+            "sha": job.failure_chain[-1]["sha"],
+            "branch": branch,
         }
         alerts.append(entry)
     return alerts