[cleanup] Misc (#16452)

* Include `pin*` extras in lockfile
* Fix and clean up `devscripts/update_requirements.py`
* Improve release channel documentation
* Remove false statement from `--prefer-insecure` documentation
* Assorted code cleanup
* Set `GH_TELEMETRY=false` in CI/CD whenever `gh` is used
* Add comments about required checks in CI workflows
* Run `test-workflows.yml` for every PR so its checks can be required
* Verify actionlint attestation in CI
* Remove zizmor version to reduce workflow maintenance burden
  (zizmor-action handles pinning on its end)

Authored by: bashonly
This commit is contained in:
bashonly
2026-05-03 22:19:08 +00:00
committed by GitHub
parent 27973bae5e
commit 35684c1171
18 changed files with 158 additions and 108 deletions
+2 -2
View File
@@ -41,12 +41,12 @@ def _find_exe(basename: str) -> str:
else:
exts = tuple(ext for ext in pathext.split(os.pathsep) if ext)
visited = []
visited = set()
for path in map(os.path.realpath, paths):
normed = os.path.normcase(path)
if normed in visited:
continue
visited.append(normed)
visited.add(normed)
for ext in exts:
binary = os.path.join(path, f'{basename}{ext}')