-
-
Notifications
You must be signed in to change notification settings - Fork 9
51 lines (49 loc) · 1.28 KB
/
pullRequestsDataFetcher.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Pull Request Creation
on:
push:
branches:
- all
jobs:
pullRequestRelease:
runs-on: ubuntu-latest
steps:
- uses: octokit/graphql-action@v2.x
id: get_pull_requests
with:
query: |
query user(login: "tamojit-123") {
pullRequests(last: 100, orderBy: {field: CREATED_AT, direction: DESC}) {
totalCount
nodes {
title
url
state
mergedBy {
avatarUrl
url
login
}
createdAt
number
changedFiles
additions
deletions
baseRepository {
name
url
owner {
avatarUrl
login
url
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo 'Pull Requests Data: ${{ steps.get_latest_release.outputs.data }}'"