aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/last_commit_that_affected_path.graphql
blob: 8b256f3922317849b9b34d4f970e2acc7f777b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
query LastCommitThatAffectedPath($owner: String!, $name: String!, $path: String!) {
    repository(owner: $owner, name: $name) {
        object(expression: "master") {
            __typename
            ... on Commit {
                history(path: $path, first:1) {
                    edges {
                        node {
                            commitUrl
                            committedDate
                        }
                    }
                }
            }
        }
    }
}