Skip to content

Commit

Permalink
refactor: refactor github merged unreviewed commits monitoring workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgrittner committed Sep 13, 2024
1 parent 9da0343 commit 04be38a
Show file tree
Hide file tree
Showing 5 changed files with 272 additions and 548 deletions.
23 changes: 8 additions & 15 deletions admyral/actions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,10 @@
list_groups_per_user,
list_1password_audit_events,
search_github_enterprise_audit_logs,
)

from admyral.actions.integrations.compliance.github import (
list_merged_prs,
list_commit_history_for_pr,
list_review_history_for_pr,
list_commits,
get_raw_commit_diff_between_two_commits,
get_commit_diff_info_between_two_commits,
list_merged_pull_requests,
list_commit_history_for_pull_request,
list_review_history_for_pull_request,
compare_two_github_commits,
)


Expand Down Expand Up @@ -116,10 +111,8 @@
"okta_get_all_user_types",
"get_okta_logs",
"search_github_enterprise_audit_logs",
"list_merged_prs",
"list_commit_history_for_pr",
"list_review_history_for_pr",
"list_commits",
"get_raw_commit_diff_between_two_commits",
"get_commit_diff_info_between_two_commits",
"list_merged_pull_requests",
"list_commit_history_for_pull_request",
"list_review_history_for_pull_request",
"compare_two_github_commits",
]
20 changes: 8 additions & 12 deletions admyral/actions/integrations/compliance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,19 @@
)
from admyral.actions.integrations.compliance.github import (
search_github_enterprise_audit_logs,
list_merged_prs,
list_commit_history_for_pr,
list_review_history_for_pr,
list_commits,
get_raw_commit_diff_between_two_commits,
get_commit_diff_info_between_two_commits,
list_merged_pull_requests,
list_commit_history_for_pull_request,
list_review_history_for_pull_request,
compare_two_github_commits,
)

__all__ = [
"list_retool_inactive_users",
"list_groups_per_user",
"list_1password_audit_events",
"search_github_enterprise_audit_logs",
"list_merged_prs",
"list_commit_history_for_pr",
"list_review_history_for_pr",
"list_commits",
"get_raw_commit_diff_between_two_commits",
"get_commit_diff_info_between_two_commits",
"list_merged_pull_requests",
"list_commit_history_for_pull_request",
"list_review_history_for_pull_request",
"compare_two_github_commits",
]
Loading

0 comments on commit 04be38a

Please sign in to comment.