Skip to content

Conversation

@LegitYew0108
Copy link
Contributor

@LegitYew0108 LegitYew0108 commented Oct 5, 2025

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements GitHub commit update detection functionality by adding new GitHub API integration capabilities and a background monitoring task.

  • Adds GitHub API client integration for fetching commit data
  • Implements periodic commit monitoring to detect repository updates
  • Refactors configuration structure to support GitHub API operations

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 4 comments.

File Description
controller/src/main.rs Adds background task for periodic commit monitoring and updates main function structure
controller/src/github_access.rs New module implementing GitHub API client for fetching commit information
controller/src/config.rs Updates configuration structure to support GitHub API parameters and fixes test data
controller/Cargo.toml Adds required dependencies for HTTP client, JSON handling, and environment variable loading

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

LegitYew0108 and others added 4 commits October 6, 2025 02:12
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Member

@AsPulse AsPulse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

とりあえずcargo fmtかけましょう (本来Ciで検知すべきなんだけどね……)
他の部分はあとで見るのでちょいまちください

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat:n分おきにGithubを確認し、更新を検知する feat:Githubのリポジトリにアクセスできるようにする

3 participants