diff options
author | Dmitry <[email protected]> | 2020-08-14 15:58:04 +0100 |
---|---|---|
committer | Dmitry <[email protected]> | 2020-08-14 15:58:04 +0100 |
commit | 034db28c542c04b22147da6722328bc74ff99386 (patch) | |
tree | 5976d8392b97a58eef9324ebfff2d0548b63664c /xtask/src/codegen/last_commit_that_affected_path.graphql | |
parent | 4874c559ef5027da5d05c9d46450d602b1f47644 (diff) |
replase sparse-checkout by github api
Diffstat (limited to 'xtask/src/codegen/last_commit_that_affected_path.graphql')
-rw-r--r-- | xtask/src/codegen/last_commit_that_affected_path.graphql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/xtask/src/codegen/last_commit_that_affected_path.graphql b/xtask/src/codegen/last_commit_that_affected_path.graphql new file mode 100644 index 000000000..8b256f392 --- /dev/null +++ b/xtask/src/codegen/last_commit_that_affected_path.graphql | |||
@@ -0,0 +1,17 @@ | |||
1 | query LastCommitThatAffectedPath($owner: String!, $name: String!, $path: String!) { | ||
2 | repository(owner: $owner, name: $name) { | ||
3 | object(expression: "master") { | ||
4 | __typename | ||
5 | ... on Commit { | ||
6 | history(path: $path, first:1) { | ||
7 | edges { | ||
8 | node { | ||
9 | commitUrl | ||
10 | committedDate | ||
11 | } | ||
12 | } | ||
13 | } | ||
14 | } | ||
15 | } | ||
16 | } | ||
17 | } \ No newline at end of file | ||