Skip to content

Commit

Permalink
Updating most recent commit (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrlee authored Nov 27, 2024
1 parent e7abefe commit b19e4cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions github_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ def process_repo(**component):
data.update({'description': repo.description})
data.update({'github_project_visibility': repo.visibility})
data.update({'github_repo': repo.name})
data.update({'latest_commit': {
'sha': default_branch.commit.sha,
'date_time': default_branch.commit.commit.committer.date,
}})

# GitHub teams access, branch protection etc.
branch_protection_restricted_teams = []
Expand Down

0 comments on commit b19e4cb

Please sign in to comment.