Skip to content

Commit fcdf0eb

Browse files
committed
document measure-test-flakiness.sh
Signed-off-by: Chao Chen <[email protected]>
1 parent c6d8b65 commit fcdf0eb

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

scripts/measure-test-flakiness.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,33 @@ trap '{ rm -rf -- "${temp_dir}"; }' EXIT
1515

1616
json_file="${temp_dir}/commit-and-check-data.json"
1717

18+
# This GraphQL query retrieves information about the most recent commits to the default branch of the "etcd" repository owned by "etcd-io".
19+
# Specifically, it retrieves the commit URL and the state of the status check rollup for each of the 100 most recent commits on the default branch.
20+
# {
21+
# repository(owner: "etcd-io", name: "etcd") {
22+
# defaultBranchRef {
23+
# target {
24+
# ... on Commit {
25+
# history(first: 100) {
26+
# edges {
27+
# node {
28+
# ... on Commit {
29+
# commitUrl
30+
# statusCheckRollup {
31+
# state
32+
# }
33+
# }
34+
# }
35+
# }
36+
# }
37+
# }
38+
# }
39+
# }
40+
# }
41+
# }
42+
43+
# Try this above query in https://docs.github.com/en/graphql/overview/explorer
44+
1845
curl --fail --show-error --silent -H "Authorization: token ${GITHUB_TOKEN}" \
1946
-X POST \
2047
-d '{

0 commit comments

Comments
 (0)