github-security-report 0.13.0__tar.gz → 0.14.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- github_security_report-0.14.0/LICENSES/Apache-2.0.txt +201 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/PKG-INFO +94 -33
- {github_security_report-0.13.0 → github_security_report-0.14.0}/README.md +91 -30
- {github_security_report-0.13.0 → github_security_report-0.14.0}/pyproject.toml +4 -4
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/_version.py +2 -2
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/authors.py +37 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/categories.py +21 -8
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/client/__init__.py +5 -2
- github_security_report-0.14.0/src/github_security_report/client/alerts.py +230 -0
- github_security_report-0.14.0/src/github_security_report/client/copilot.py +73 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/client/org_reads.py +22 -23
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/client/parsers.py +2 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/client/queries.py +23 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/client/reads.py +17 -5
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/client/transport.py +20 -9
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/collect/protocols.py +2 -2
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/collect/repo.py +8 -2
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/models.py +12 -3
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/pulls/__init__.py +9 -3
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/pulls/columns.py +5 -1
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/pulls/counting.py +38 -7
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/pulls/presentation.py +18 -2
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/pulls/table.py +6 -2
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/render/html.py +27 -0
- github_security_report-0.14.0/src/github_security_report/secret_patterns.py +158 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/templates/report.html.j2 +6 -1
- github_security_report-0.13.0/LICENSE +0 -1
- {github_security_report-0.13.0 → github_security_report-0.14.0}/.gitignore +0 -0
- /github_security_report-0.13.0/LICENSES/Apache-2.0.txt → /github_security_report-0.14.0/LICENSE +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/scripts/README.md +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/__init__.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/classify.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/__init__.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/__main__.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/app.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/boundary.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/modes.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/options.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/outputs.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/publish.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/cli/serialise.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/client/endpoints.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/client/writes.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/collect/__init__.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/collect/context.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/collect/extras.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/collect/org.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/config/__init__.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/config/loader.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/config/models.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/config/order.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/config/schema.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/gating.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/gitctx.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/issues.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/layout.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/ordering.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/posture/__init__.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/posture/enablement.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/posture/facts.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/posture/releases.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/py.typed +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/remediate.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/render/__init__.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/render/markdown.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/render/slack.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/render/slack_limits.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/render/terminal.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/report/__init__.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/report/aggregate.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/report/display.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/report/signals.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/report/tables.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/rulesets.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/runner.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/scope.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/severity.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/summary.py +0 -0
- {github_security_report-0.13.0 → github_security_report-0.14.0}/src/github_security_report/templates/index.html.j2 +0 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: github-security-report
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.0
|
|
4
4
|
Summary: Security and quality reporting across GitHub organisations
|
|
5
5
|
Project-URL: Homepage, https://github.com/lfreleng-actions/github-security-report-action
|
|
6
6
|
Project-URL: Repository, https://github.com/lfreleng-actions/github-security-report-action
|
|
@@ -36,8 +36,8 @@ Requires-Dist: pytest-asyncio==1.4.0; extra == 'dev'
|
|
|
36
36
|
Requires-Dist: pytest-cov==7.1.0; extra == 'dev'
|
|
37
37
|
Requires-Dist: pytest==9.1.1; extra == 'dev'
|
|
38
38
|
Requires-Dist: respx==0.23.1; extra == 'dev'
|
|
39
|
-
Requires-Dist: ruff==0.16.
|
|
40
|
-
Requires-Dist: syrupy==
|
|
39
|
+
Requires-Dist: ruff==0.16.5; extra == 'dev'
|
|
40
|
+
Requires-Dist: syrupy==6.0.0; extra == 'dev'
|
|
41
41
|
Requires-Dist: types-jsonschema==4.26.0.20260518; extra == 'dev'
|
|
42
42
|
Requires-Dist: types-pyyaml==6.0.12.20250915; extra == 'dev'
|
|
43
43
|
Description-Content-Type: text/markdown
|
|
@@ -179,7 +179,7 @@ organisation and **Repository access** set to *All repositories*, then grant:
|
|
|
179
179
|
| Contents | `.github/dependabot.yml`, latest release, and tag dates |
|
|
180
180
|
| Dependabot alerts | Open Dependabot vulnerability alerts |
|
|
181
181
|
| Code scanning alerts | CodeQL / Scorecard / zizmor / aislop findings |
|
|
182
|
-
| Secret scanning alerts | Open secret-scanning alerts |
|
|
182
|
+
| Secret scanning alerts | Open secret-scanning alerts, across every GitHub pattern category |
|
|
183
183
|
| Issues | Open issues and their labels (GitHub Issues table) |
|
|
184
184
|
| Administration | Dependabot enablement + security-updates status, and effective branch rules |
|
|
185
185
|
|
|
@@ -187,7 +187,7 @@ organisation and **Repository access** set to *All repositories*, then grant:
|
|
|
187
187
|
|
|
188
188
|
| Permission | Access | Used for |
|
|
189
189
|
| ---------- | ------ | -------- |
|
|
190
|
-
| Administration | Read
|
|
190
|
+
| Administration | Read (write for rulesets) | *Optional*, and the only permission here with a write variant. **Read** keeps the token read-only and unlocks GitHub's secret-scanning pattern inventory (see below). **Write** additionally unlocks organisation rulesets (detecting tools enforced through an org ruleset), which GitHub gates behind Administration write. Omit the permission entirely to skip both; everything else is unaffected. |
|
|
191
191
|
|
|
192
192
|
> Read-only is enough for everything except the optional ruleset coverage
|
|
193
193
|
> above. A fine-grained token cannot span organisations. For a report covering
|
|
@@ -203,7 +203,7 @@ organisations. Grant these scopes:
|
|
|
203
203
|
| ----- | -------- |
|
|
204
204
|
| `repo` | Repository data, including private repositories |
|
|
205
205
|
| `security_events` | Code scanning, secret scanning, and Dependabot alerts (org-bulk and per-repo) |
|
|
206
|
-
| `read:org` | Listing organisation repositories |
|
|
206
|
+
| `read:org` | Listing organisation repositories, and GitHub's secret-scanning pattern inventory (see below) |
|
|
207
207
|
| `admin:org` | *Optional* — reading organisation rulesets for ruleset-based tool coverage. GitHub gates `GET /orgs/{org}/rulesets` behind the full `admin:org` scope; `read:org` and `write:org` return 404. Omit it to skip that one signal; everything else is unaffected. |
|
|
208
208
|
|
|
209
209
|
> For organisations that enforce SSO, the PAT must be **SSO-authorised** for
|
|
@@ -211,6 +211,33 @@ organisations. Grant these scopes:
|
|
|
211
211
|
> unknown). Store the token as a secret (e.g. `LFRELENG_ACTIONS_REPORT_PAT`) and
|
|
212
212
|
> reference it by env-var name via `token_env`; never embed it in the config.
|
|
213
213
|
|
|
214
|
+
### Secret scanning covers three pattern categories
|
|
215
|
+
|
|
216
|
+
GitHub's alerts API returns only its *default* provider patterns unless
|
|
217
|
+
`secret_type` names something else, so two whole categories — the **generic**
|
|
218
|
+
patterns (private keys, database connection strings, HTTP authentication
|
|
219
|
+
headers) and the **AI-detected** ones (passwords) — are omitted from an
|
|
220
|
+
ordinary sweep, and the endpoint answers `200 []` rather than an error. The
|
|
221
|
+
report therefore sweeps twice, once unfiltered and once naming the patterns
|
|
222
|
+
GitHub leaves out, and merges the results.
|
|
223
|
+
|
|
224
|
+
If either half fails, the repository is reported as **unknown** rather than as
|
|
225
|
+
the surviving half's answer — a partial sweep can never stand in for a clean
|
|
226
|
+
bill of health. Alerts the successful half did find are still reported, and a
|
|
227
|
+
repository with any of them is an **offender** rather than unknown: an
|
|
228
|
+
incomplete read can conceal a secret, never invent one, so positive evidence is
|
|
229
|
+
acted on whatever else failed.
|
|
230
|
+
|
|
231
|
+
Where the token can read
|
|
232
|
+
`GET /orgs/{org}/secret-scanning/pattern-configurations`, the generic pattern
|
|
233
|
+
names are checked against GitHub's own inventory, so a pattern GitHub renames
|
|
234
|
+
surfaces as a warning instead of as a silently clean report. A classic PAT gets
|
|
235
|
+
this from the `read:org` scope it already needs; a fine-grained token needs the
|
|
236
|
+
optional organisation `Administration` permission (read). Where the token
|
|
237
|
+
cannot read it, the check is skipped without comment and the sweep proceeds
|
|
238
|
+
unchanged. The AI-detected patterns are absent from that inventory and so go
|
|
239
|
+
unverified.
|
|
240
|
+
|
|
214
241
|
## Usage
|
|
215
242
|
|
|
216
243
|
### Org mode (scheduled report)
|
|
@@ -695,9 +722,10 @@ is never presented as a clean one.
|
|
|
695
722
|
The `pull_requests` category counts each repository's **open pull requests**,
|
|
696
723
|
split by who raised them and by what is holding them up. The per-repository data
|
|
697
724
|
rides the same batched GraphQL prefetch as the issues data, so it costs **no
|
|
698
|
-
extra requests per repository** — measured against a
|
|
699
|
-
|
|
700
|
-
|
|
725
|
+
extra requests per repository** — measured against a 25-repository batch, the
|
|
726
|
+
whole prefetch costs 20 points without the review-thread scan that feeds
|
|
727
|
+
`Copilot` and 151 with it, against an hourly budget of 5,000. A 118-repository
|
|
728
|
+
organisation therefore spends roughly 755 points per run.
|
|
701
729
|
|
|
702
730
|
Identifying contributors does add **two requests per organisation**, made once
|
|
703
731
|
per run and reused by every repository and both author-aware tables:
|
|
@@ -707,17 +735,17 @@ organisation](#inside-or-outside-the-organisation):
|
|
|
707
735
|
|
|
708
736
|
```text
|
|
709
737
|
Pull Requests
|
|
710
|
-
|
|
711
|
-
┃ Repository ┃ Human ┃ Ext ┃ Auto ┃ Conflict ┃ Fail ┃ Draft ┃ Total ┃
|
|
712
|
-
|
|
713
|
-
│ lftools-uv │ 8 │ 0 │ 0 │ 0 │ 0 │ 0 │ 8 │
|
|
714
|
-
│ dependamerge │ 3 │ 0 │ 0 │ 0 │ 0 │ 0 │ 3 │
|
|
715
|
-
│ gha-workflow-linter │ 2 │ 0 │ 0 │ 0 │ 1 │ 1 │ 2 │
|
|
716
|
-
│ harden-runner-block- │ 1 │ 0 │ 0 │ 1 │ 0 │ 1 │ 1 │
|
|
717
|
-
│ action │ │ │ │ │ │ │ │
|
|
718
|
-
|
|
719
|
-
│ Total │ 14 │ 0 │ 0 │ 1 │ 1 │ 2 │ 14 │
|
|
720
|
-
|
|
738
|
+
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━┳━━━━━━┳━━━━━━━━━━┳━━━━━━┳━━━━━━━━━┳━━━━━━━┳━━━━━━━┓
|
|
739
|
+
┃ Repository ┃ Human ┃ Ext ┃ Auto ┃ Conflict ┃ Fail ┃ Copilot ┃ Draft ┃ Total ┃
|
|
740
|
+
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━╇━━━━━━╇━━━━━━━━━━╇━━━━━━╇━━━━━━━━━╇━━━━━━━╇━━━━━━━┩
|
|
741
|
+
│ lftools-uv │ 8 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 8 │
|
|
742
|
+
│ dependamerge │ 3 │ 0 │ 0 │ 0 │ 0 │ 2 │ 0 │ 3 │
|
|
743
|
+
│ gha-workflow-linter │ 2 │ 0 │ 0 │ 0 │ 1 │ 0 │ 1 │ 2 │
|
|
744
|
+
│ harden-runner-block- │ 1 │ 0 │ 0 │ 1 │ 0 │ 0 │ 1 │ 1 │
|
|
745
|
+
│ action │ │ │ │ │ │ │ │ │
|
|
746
|
+
├─────────────────────┼───────┼─────┼──────┼──────────┼──────┼─────────┼───────┼───────┤
|
|
747
|
+
│ Total │ 14 │ 0 │ 0 │ 1 │ 1 │ 2 │ 2 │ 14 │
|
|
748
|
+
└─────────────────────┴───────┴─────┴──────┴──────────┴──────┴─────────┴───────┴───────┘
|
|
721
749
|
… and 9 more
|
|
722
750
|
❌ 13 With open pull requests
|
|
723
751
|
✅ 104 No open pull requests
|
|
@@ -731,21 +759,45 @@ The columns form **two independent groupings**:
|
|
|
731
759
|
| `Ext` | Human pull requests raised from outside the organisation — a **subset of Human**, which is why it sits beside it. |
|
|
732
760
|
| `Conflict` | Blocked on a merge conflict. |
|
|
733
761
|
| `Fail` | Latest checks did not pass. The rollup includes optional checks, so this is not by itself proof that the merge is blocked. |
|
|
762
|
+
| `Copilot` | Carries at least one **unresolved review thread** opened by GitHub's automated code reviewer. |
|
|
734
763
|
| `Draft` | Marked as a draft. |
|
|
735
764
|
|
|
736
|
-
`Conflict`, `Fail` and `Draft` **overlap** each other and the author
|
|
737
|
-
they do not sum to `Total` and are not meant to: one pull request that
|
|
738
|
-
conflicting, failing *and* a draft is counted once in each of those three
|
|
765
|
+
`Conflict`, `Fail`, `Copilot` and `Draft` **overlap** each other and the author
|
|
766
|
+
split, so they do not sum to `Total` and are not meant to: one pull request that
|
|
767
|
+
is conflicting, failing *and* a draft is counted once in each of those three
|
|
739
768
|
columns, and once under `Human` or `Auto`. Only `Human` + `Auto` reconciles with
|
|
740
769
|
the collected total. They are ordered worst-first — a conflict needs a human to
|
|
741
|
-
rebase, a failing check may only need a re-run,
|
|
770
|
+
rebase, a failing check may only need a re-run, unresolved review feedback needs
|
|
771
|
+
a human but does not hold the merge button down, and a draft is not blocked at
|
|
742
772
|
all.
|
|
743
773
|
|
|
774
|
+
#### Unresolved Copilot feedback
|
|
775
|
+
|
|
776
|
+
`Copilot` counts the pull requests **waiting on a human to answer a review**. A
|
|
777
|
+
review thread counts when it was opened by GitHub's automated code reviewer (the
|
|
778
|
+
`copilot-pull-request-reviewer` bot) and nobody has resolved it. The reviewer is
|
|
779
|
+
identified from each thread's **opening** comment, since later replies are
|
|
780
|
+
usually the human answering the review.
|
|
781
|
+
|
|
782
|
+
An **outdated** thread still counts: GitHub marks a thread outdated when the
|
|
783
|
+
code beneath it changes, but that does not resolve it, so the feedback remains
|
|
784
|
+
unanswered.
|
|
785
|
+
|
|
786
|
+
Any non-zero count is coloured **red**, like `Conflict` and `Fail` — it marks a
|
|
787
|
+
pull request that cannot progress until somebody responds. The count also feeds
|
|
788
|
+
the row ranking, so a backlog awaiting review outranks an untouched one of the
|
|
789
|
+
same size.
|
|
790
|
+
|
|
791
|
+
The scan reads up to **20 review threads per pull request**, which is the single
|
|
792
|
+
most expensive part of the prefetch (see the cost figures above). Where a pull
|
|
793
|
+
request carries more threads than that and none of the collected ones qualifies,
|
|
794
|
+
the pull request is treated as **indeterminate** rather than clear — see below.
|
|
795
|
+
|
|
744
796
|
#### Automation backlog thresholds
|
|
745
797
|
|
|
746
798
|
On the terminal the counts are coloured so the table reads at a glance: `Human`
|
|
747
|
-
and `Ext` **green**, `Conflict` and `
|
|
748
|
-
two configured thresholds.
|
|
799
|
+
and `Ext` **green**, `Conflict`, `Fail` and `Copilot` **red**, and `Auto`
|
|
800
|
+
coloured against two configured thresholds.
|
|
749
801
|
|
|
750
802
|
Dependabot stops raising pull requests once a repository reaches its
|
|
751
803
|
`open-pull-requests-limit`, so the repository quietly stops receiving dependency
|
|
@@ -967,15 +1019,24 @@ reports as an App and any unrecognised login carrying the `[bot]` marker — so
|
|
|
967
1019
|
future bot is classified as automation rather than mistaken for an outside
|
|
968
1020
|
contributor.
|
|
969
1021
|
|
|
970
|
-
`Fail` and `
|
|
971
|
-
mergeability lazily and answers `UNKNOWN` until it settles, and reports
|
|
972
|
-
rollup at all when no checks have run; neither absence is evidence that
|
|
973
|
-
request is ready, so neither is counted either way.
|
|
1022
|
+
`Fail`, `Conflict` and `Copilot` count only **established** states. GitHub
|
|
1023
|
+
computes mergeability lazily and answers `UNKNOWN` until it settles, and reports
|
|
1024
|
+
no check rollup at all when no checks have run; neither absence is evidence that
|
|
1025
|
+
a pull request is ready, so neither is counted either way. `Copilot` follows the
|
|
1026
|
+
same rule: a pull request carrying more review threads than the 20-thread window
|
|
1027
|
+
returned, with nothing unresolved among the ones collected, is left uncounted
|
|
1028
|
+
rather than reported as clear — an unresolved thread may sit among those never
|
|
1029
|
+
seen. Review threads that could not be read at all, or whose count came back
|
|
1030
|
+
unusable so the window's coverage cannot be established, are treated the same
|
|
1031
|
+
way. Because an uncounted pull request renders as an ordinary `0`, a table
|
|
1032
|
+
holding any such reading says so in its description: `Copilot` then
|
|
1033
|
+
**undercounts and should be read as a lower bound**, exactly as `Ext` does when
|
|
1034
|
+
membership cannot be read.
|
|
974
1035
|
|
|
975
1036
|
Repositories with no open pull requests are counted in the footer rather than
|
|
976
|
-
listed. Rows rank by total open pull requests, then by those failing
|
|
977
|
-
conflicting
|
|
978
|
-
surface the more
|
|
1037
|
+
listed. Rows rank by total open pull requests, then by those failing,
|
|
1038
|
+
conflicting or awaiting Copilot feedback (counted once each, since the columns
|
|
1039
|
+
overlap), so two repositories with equal backlogs surface the more
|
|
979
1040
|
stuck one first.
|
|
980
1041
|
|
|
981
1042
|
> **Accuracy note.** As with the issues table, `Total` is exact at any size,
|
|
@@ -135,7 +135,7 @@ organisation and **Repository access** set to *All repositories*, then grant:
|
|
|
135
135
|
| Contents | `.github/dependabot.yml`, latest release, and tag dates |
|
|
136
136
|
| Dependabot alerts | Open Dependabot vulnerability alerts |
|
|
137
137
|
| Code scanning alerts | CodeQL / Scorecard / zizmor / aislop findings |
|
|
138
|
-
| Secret scanning alerts | Open secret-scanning alerts |
|
|
138
|
+
| Secret scanning alerts | Open secret-scanning alerts, across every GitHub pattern category |
|
|
139
139
|
| Issues | Open issues and their labels (GitHub Issues table) |
|
|
140
140
|
| Administration | Dependabot enablement + security-updates status, and effective branch rules |
|
|
141
141
|
|
|
@@ -143,7 +143,7 @@ organisation and **Repository access** set to *All repositories*, then grant:
|
|
|
143
143
|
|
|
144
144
|
| Permission | Access | Used for |
|
|
145
145
|
| ---------- | ------ | -------- |
|
|
146
|
-
| Administration | Read
|
|
146
|
+
| Administration | Read (write for rulesets) | *Optional*, and the only permission here with a write variant. **Read** keeps the token read-only and unlocks GitHub's secret-scanning pattern inventory (see below). **Write** additionally unlocks organisation rulesets (detecting tools enforced through an org ruleset), which GitHub gates behind Administration write. Omit the permission entirely to skip both; everything else is unaffected. |
|
|
147
147
|
|
|
148
148
|
> Read-only is enough for everything except the optional ruleset coverage
|
|
149
149
|
> above. A fine-grained token cannot span organisations. For a report covering
|
|
@@ -159,7 +159,7 @@ organisations. Grant these scopes:
|
|
|
159
159
|
| ----- | -------- |
|
|
160
160
|
| `repo` | Repository data, including private repositories |
|
|
161
161
|
| `security_events` | Code scanning, secret scanning, and Dependabot alerts (org-bulk and per-repo) |
|
|
162
|
-
| `read:org` | Listing organisation repositories |
|
|
162
|
+
| `read:org` | Listing organisation repositories, and GitHub's secret-scanning pattern inventory (see below) |
|
|
163
163
|
| `admin:org` | *Optional* — reading organisation rulesets for ruleset-based tool coverage. GitHub gates `GET /orgs/{org}/rulesets` behind the full `admin:org` scope; `read:org` and `write:org` return 404. Omit it to skip that one signal; everything else is unaffected. |
|
|
164
164
|
|
|
165
165
|
> For organisations that enforce SSO, the PAT must be **SSO-authorised** for
|
|
@@ -167,6 +167,33 @@ organisations. Grant these scopes:
|
|
|
167
167
|
> unknown). Store the token as a secret (e.g. `LFRELENG_ACTIONS_REPORT_PAT`) and
|
|
168
168
|
> reference it by env-var name via `token_env`; never embed it in the config.
|
|
169
169
|
|
|
170
|
+
### Secret scanning covers three pattern categories
|
|
171
|
+
|
|
172
|
+
GitHub's alerts API returns only its *default* provider patterns unless
|
|
173
|
+
`secret_type` names something else, so two whole categories — the **generic**
|
|
174
|
+
patterns (private keys, database connection strings, HTTP authentication
|
|
175
|
+
headers) and the **AI-detected** ones (passwords) — are omitted from an
|
|
176
|
+
ordinary sweep, and the endpoint answers `200 []` rather than an error. The
|
|
177
|
+
report therefore sweeps twice, once unfiltered and once naming the patterns
|
|
178
|
+
GitHub leaves out, and merges the results.
|
|
179
|
+
|
|
180
|
+
If either half fails, the repository is reported as **unknown** rather than as
|
|
181
|
+
the surviving half's answer — a partial sweep can never stand in for a clean
|
|
182
|
+
bill of health. Alerts the successful half did find are still reported, and a
|
|
183
|
+
repository with any of them is an **offender** rather than unknown: an
|
|
184
|
+
incomplete read can conceal a secret, never invent one, so positive evidence is
|
|
185
|
+
acted on whatever else failed.
|
|
186
|
+
|
|
187
|
+
Where the token can read
|
|
188
|
+
`GET /orgs/{org}/secret-scanning/pattern-configurations`, the generic pattern
|
|
189
|
+
names are checked against GitHub's own inventory, so a pattern GitHub renames
|
|
190
|
+
surfaces as a warning instead of as a silently clean report. A classic PAT gets
|
|
191
|
+
this from the `read:org` scope it already needs; a fine-grained token needs the
|
|
192
|
+
optional organisation `Administration` permission (read). Where the token
|
|
193
|
+
cannot read it, the check is skipped without comment and the sweep proceeds
|
|
194
|
+
unchanged. The AI-detected patterns are absent from that inventory and so go
|
|
195
|
+
unverified.
|
|
196
|
+
|
|
170
197
|
## Usage
|
|
171
198
|
|
|
172
199
|
### Org mode (scheduled report)
|
|
@@ -651,9 +678,10 @@ is never presented as a clean one.
|
|
|
651
678
|
The `pull_requests` category counts each repository's **open pull requests**,
|
|
652
679
|
split by who raised them and by what is holding them up. The per-repository data
|
|
653
680
|
rides the same batched GraphQL prefetch as the issues data, so it costs **no
|
|
654
|
-
extra requests per repository** — measured against a
|
|
655
|
-
|
|
656
|
-
|
|
681
|
+
extra requests per repository** — measured against a 25-repository batch, the
|
|
682
|
+
whole prefetch costs 20 points without the review-thread scan that feeds
|
|
683
|
+
`Copilot` and 151 with it, against an hourly budget of 5,000. A 118-repository
|
|
684
|
+
organisation therefore spends roughly 755 points per run.
|
|
657
685
|
|
|
658
686
|
Identifying contributors does add **two requests per organisation**, made once
|
|
659
687
|
per run and reused by every repository and both author-aware tables:
|
|
@@ -663,17 +691,17 @@ organisation](#inside-or-outside-the-organisation):
|
|
|
663
691
|
|
|
664
692
|
```text
|
|
665
693
|
Pull Requests
|
|
666
|
-
|
|
667
|
-
┃ Repository ┃ Human ┃ Ext ┃ Auto ┃ Conflict ┃ Fail ┃ Draft ┃ Total ┃
|
|
668
|
-
|
|
669
|
-
│ lftools-uv │ 8 │ 0 │ 0 │ 0 │ 0 │ 0 │ 8 │
|
|
670
|
-
│ dependamerge │ 3 │ 0 │ 0 │ 0 │ 0 │ 0 │ 3 │
|
|
671
|
-
│ gha-workflow-linter │ 2 │ 0 │ 0 │ 0 │ 1 │ 1 │ 2 │
|
|
672
|
-
│ harden-runner-block- │ 1 │ 0 │ 0 │ 1 │ 0 │ 1 │ 1 │
|
|
673
|
-
│ action │ │ │ │ │ │ │ │
|
|
674
|
-
|
|
675
|
-
│ Total │ 14 │ 0 │ 0 │ 1 │ 1 │ 2 │ 14 │
|
|
676
|
-
|
|
694
|
+
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━┳━━━━━━┳━━━━━━━━━━┳━━━━━━┳━━━━━━━━━┳━━━━━━━┳━━━━━━━┓
|
|
695
|
+
┃ Repository ┃ Human ┃ Ext ┃ Auto ┃ Conflict ┃ Fail ┃ Copilot ┃ Draft ┃ Total ┃
|
|
696
|
+
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━╇━━━━━━╇━━━━━━━━━━╇━━━━━━╇━━━━━━━━━╇━━━━━━━╇━━━━━━━┩
|
|
697
|
+
│ lftools-uv │ 8 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 8 │
|
|
698
|
+
│ dependamerge │ 3 │ 0 │ 0 │ 0 │ 0 │ 2 │ 0 │ 3 │
|
|
699
|
+
│ gha-workflow-linter │ 2 │ 0 │ 0 │ 0 │ 1 │ 0 │ 1 │ 2 │
|
|
700
|
+
│ harden-runner-block- │ 1 │ 0 │ 0 │ 1 │ 0 │ 0 │ 1 │ 1 │
|
|
701
|
+
│ action │ │ │ │ │ │ │ │ │
|
|
702
|
+
├─────────────────────┼───────┼─────┼──────┼──────────┼──────┼─────────┼───────┼───────┤
|
|
703
|
+
│ Total │ 14 │ 0 │ 0 │ 1 │ 1 │ 2 │ 2 │ 14 │
|
|
704
|
+
└─────────────────────┴───────┴─────┴──────┴──────────┴──────┴─────────┴───────┴───────┘
|
|
677
705
|
… and 9 more
|
|
678
706
|
❌ 13 With open pull requests
|
|
679
707
|
✅ 104 No open pull requests
|
|
@@ -687,21 +715,45 @@ The columns form **two independent groupings**:
|
|
|
687
715
|
| `Ext` | Human pull requests raised from outside the organisation — a **subset of Human**, which is why it sits beside it. |
|
|
688
716
|
| `Conflict` | Blocked on a merge conflict. |
|
|
689
717
|
| `Fail` | Latest checks did not pass. The rollup includes optional checks, so this is not by itself proof that the merge is blocked. |
|
|
718
|
+
| `Copilot` | Carries at least one **unresolved review thread** opened by GitHub's automated code reviewer. |
|
|
690
719
|
| `Draft` | Marked as a draft. |
|
|
691
720
|
|
|
692
|
-
`Conflict`, `Fail` and `Draft` **overlap** each other and the author
|
|
693
|
-
they do not sum to `Total` and are not meant to: one pull request that
|
|
694
|
-
conflicting, failing *and* a draft is counted once in each of those three
|
|
721
|
+
`Conflict`, `Fail`, `Copilot` and `Draft` **overlap** each other and the author
|
|
722
|
+
split, so they do not sum to `Total` and are not meant to: one pull request that
|
|
723
|
+
is conflicting, failing *and* a draft is counted once in each of those three
|
|
695
724
|
columns, and once under `Human` or `Auto`. Only `Human` + `Auto` reconciles with
|
|
696
725
|
the collected total. They are ordered worst-first — a conflict needs a human to
|
|
697
|
-
rebase, a failing check may only need a re-run,
|
|
726
|
+
rebase, a failing check may only need a re-run, unresolved review feedback needs
|
|
727
|
+
a human but does not hold the merge button down, and a draft is not blocked at
|
|
698
728
|
all.
|
|
699
729
|
|
|
730
|
+
#### Unresolved Copilot feedback
|
|
731
|
+
|
|
732
|
+
`Copilot` counts the pull requests **waiting on a human to answer a review**. A
|
|
733
|
+
review thread counts when it was opened by GitHub's automated code reviewer (the
|
|
734
|
+
`copilot-pull-request-reviewer` bot) and nobody has resolved it. The reviewer is
|
|
735
|
+
identified from each thread's **opening** comment, since later replies are
|
|
736
|
+
usually the human answering the review.
|
|
737
|
+
|
|
738
|
+
An **outdated** thread still counts: GitHub marks a thread outdated when the
|
|
739
|
+
code beneath it changes, but that does not resolve it, so the feedback remains
|
|
740
|
+
unanswered.
|
|
741
|
+
|
|
742
|
+
Any non-zero count is coloured **red**, like `Conflict` and `Fail` — it marks a
|
|
743
|
+
pull request that cannot progress until somebody responds. The count also feeds
|
|
744
|
+
the row ranking, so a backlog awaiting review outranks an untouched one of the
|
|
745
|
+
same size.
|
|
746
|
+
|
|
747
|
+
The scan reads up to **20 review threads per pull request**, which is the single
|
|
748
|
+
most expensive part of the prefetch (see the cost figures above). Where a pull
|
|
749
|
+
request carries more threads than that and none of the collected ones qualifies,
|
|
750
|
+
the pull request is treated as **indeterminate** rather than clear — see below.
|
|
751
|
+
|
|
700
752
|
#### Automation backlog thresholds
|
|
701
753
|
|
|
702
754
|
On the terminal the counts are coloured so the table reads at a glance: `Human`
|
|
703
|
-
and `Ext` **green**, `Conflict` and `
|
|
704
|
-
two configured thresholds.
|
|
755
|
+
and `Ext` **green**, `Conflict`, `Fail` and `Copilot` **red**, and `Auto`
|
|
756
|
+
coloured against two configured thresholds.
|
|
705
757
|
|
|
706
758
|
Dependabot stops raising pull requests once a repository reaches its
|
|
707
759
|
`open-pull-requests-limit`, so the repository quietly stops receiving dependency
|
|
@@ -923,15 +975,24 @@ reports as an App and any unrecognised login carrying the `[bot]` marker — so
|
|
|
923
975
|
future bot is classified as automation rather than mistaken for an outside
|
|
924
976
|
contributor.
|
|
925
977
|
|
|
926
|
-
`Fail` and `
|
|
927
|
-
mergeability lazily and answers `UNKNOWN` until it settles, and reports
|
|
928
|
-
rollup at all when no checks have run; neither absence is evidence that
|
|
929
|
-
request is ready, so neither is counted either way.
|
|
978
|
+
`Fail`, `Conflict` and `Copilot` count only **established** states. GitHub
|
|
979
|
+
computes mergeability lazily and answers `UNKNOWN` until it settles, and reports
|
|
980
|
+
no check rollup at all when no checks have run; neither absence is evidence that
|
|
981
|
+
a pull request is ready, so neither is counted either way. `Copilot` follows the
|
|
982
|
+
same rule: a pull request carrying more review threads than the 20-thread window
|
|
983
|
+
returned, with nothing unresolved among the ones collected, is left uncounted
|
|
984
|
+
rather than reported as clear — an unresolved thread may sit among those never
|
|
985
|
+
seen. Review threads that could not be read at all, or whose count came back
|
|
986
|
+
unusable so the window's coverage cannot be established, are treated the same
|
|
987
|
+
way. Because an uncounted pull request renders as an ordinary `0`, a table
|
|
988
|
+
holding any such reading says so in its description: `Copilot` then
|
|
989
|
+
**undercounts and should be read as a lower bound**, exactly as `Ext` does when
|
|
990
|
+
membership cannot be read.
|
|
930
991
|
|
|
931
992
|
Repositories with no open pull requests are counted in the footer rather than
|
|
932
|
-
listed. Rows rank by total open pull requests, then by those failing
|
|
933
|
-
conflicting
|
|
934
|
-
surface the more
|
|
993
|
+
listed. Rows rank by total open pull requests, then by those failing,
|
|
994
|
+
conflicting or awaiting Copilot feedback (counted once each, since the columns
|
|
995
|
+
overlap), so two repositories with equal backlogs surface the more
|
|
935
996
|
stuck one first.
|
|
936
997
|
|
|
937
998
|
> **Accuracy note.** As with the issues table, `Total` is exact at any size,
|
|
@@ -63,9 +63,9 @@ dev = [
|
|
|
63
63
|
"pytest-asyncio==1.4.0",
|
|
64
64
|
"pytest-cov==7.1.0",
|
|
65
65
|
"respx==0.23.1",
|
|
66
|
-
"syrupy==
|
|
66
|
+
"syrupy==6.0.0",
|
|
67
67
|
"mypy==2.3.1",
|
|
68
|
-
"ruff==0.16.
|
|
68
|
+
"ruff==0.16.5",
|
|
69
69
|
"types-jsonschema==4.26.0.20260518",
|
|
70
70
|
"types-PyYAML==6.0.12.20250915",
|
|
71
71
|
]
|
|
@@ -95,9 +95,9 @@ dev = [
|
|
|
95
95
|
"pytest-asyncio==1.4.0",
|
|
96
96
|
"pytest-cov==7.1.0",
|
|
97
97
|
"respx==0.23.1",
|
|
98
|
-
"syrupy==
|
|
98
|
+
"syrupy==6.0.0",
|
|
99
99
|
"mypy==2.3.1",
|
|
100
|
-
"ruff==0.16.
|
|
100
|
+
"ruff==0.16.5",
|
|
101
101
|
"types-jsonschema==4.26.0.20260518",
|
|
102
102
|
"types-PyYAML==6.0.12.20250915",
|
|
103
103
|
]
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.
|
|
22
|
-
__version_tuple__ = version_tuple = (0,
|
|
21
|
+
__version__ = version = '0.14.0'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 14, 0)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|