Skip to content

Commit

Permalink
Merge 8dec450 into f5c4906
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Feb 7, 2022
2 parents f5c4906 + 8dec450 commit 9de2102
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/apb/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,18 @@ def main() -> None:
}
repos_sent_events = []
for repo in repos:
repo_status: dict = dict()
all_repo_status["repositories"][repo.full_name] = repo_status
# Extra controls if the repo is non-public
if repo.private:
if not include_non_public:
del all_repo_status["repositories"][repo.full_name]
continue
# Ensure that non-public repo names do not show up in the logs
if mask_non_public:
core.set_secret(repo.full_name)
del all_repo_status["repositories"][repo.full_name]
core.start_group(repo.full_name)
repo_status: dict = dict()
all_repo_status["repositories"][repo.full_name] = repo_status
target_workflow = get_workflow(repo, workflow_id)
if target_workflow is None:
# Repo does not have the workflow configured
Expand Down

0 comments on commit 9de2102

Please sign in to comment.