File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 mergeCommit {
7171 oid
7272 }
73- commits(first: 10 ) {
73+ commits(first: 2 ) {
7474 nodes {
7575 commit {
7676 oid
@@ -103,7 +103,7 @@ jobs:
103103 mergeCommit {
104104 oid
105105 }
106- commits(first: 10 ) {
106+ commits(first: 2 ) {
107107 nodes {
108108 commit {
109109 oid
@@ -136,7 +136,7 @@ jobs:
136136 mergeCommit {
137137 oid
138138 }
139- commits(first: 10 ) {
139+ commits(first: 2 ) {
140140 nodes {
141141 commit {
142142 oid
@@ -169,7 +169,7 @@ jobs:
169169 mergeCommit {
170170 oid
171171 }
172- commits(first: 10 ) {
172+ commits(first: 2 ) {
173173 nodes {
174174 commit {
175175 oid
@@ -274,7 +274,7 @@ jobs:
274274 time_geneva = time_geneva.astimezone(to_zone).strftime('%Y-%m-%d %H:%M:%S')
275275 # we fetch at most 10 commits, make that clear
276276 n_commits = len(pr["commits"]["nodes"])
277- if n_commits >= 10 :
277+ if n_commits >= 2 :
278278 n_commits = f'at least {n_commits}'
279279 f.write(f'| {pr["author"]["login"]} | {repo_name} | [PR]({pr["url"]}) | {pr["title"]} | {time_geneva} | {n_commits} | {pr["mergeCommit"]["oid"] if pr["mergeCommit"] else "-"} |\n')
280280
You can’t perform that action at this time.
0 commit comments