Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/setup_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ def visible(kind: str) -> set[str]:
names.update(item["name"] for item in listed.get(kind, []))
return names

for kind, name in (("variables", RELEASE_APP_CLIENT_ID), ("secrets", RELEASE_APP_PRIVATE_KEY)):
if name not in visible(kind):
print(f" [WARN] Actions {kind[:-1]} {name} is not visible to {repo}: CI will not run on"
for kind, setting in (("variables", RELEASE_APP_CLIENT_ID), ("secrets", RELEASE_APP_PRIVATE_KEY)):
if setting not in visible(kind):
print(f" [WARN] Actions {kind[:-1]} {setting} is not visible to {repo}: CI will not run on"
" release PRs until it is (template README, 'The release App')")

step("Actions: workflows get a read-only token unless they ask for more; Release Please may open PRs")
Expand Down
Loading