Open guibranco opened 1 year ago
Hey, I'm a bit lost here! Not sure which file I should be fixing. Could you give me a bit more to go on? Maybe add some details to the issue or drop a comment with some extra hints? Thanks!
Have feedback or need help? Feel free to email info@gitauto.ai.
Description:
The
projects-monitor
service should be enhanced to check for the existence of adependabot.yml
file in the.github
directory of each repository being monitored. This will ensure that repositories are being managed by Dependabot, which helps in keeping dependencies updated automatically.Tasks:
Check for
dependabot.yml
:dependabot.yml
file exists at the path.github/dependabot.yml
in each repository.Database Integration:
dependabot.yml
file is present.Update the Dashboard:
dependabot.yml
file is present in each repository.Proposed Database Schema Update:
You might want to update the table storing repository data to include a field for tracking whether the
dependabot.yml
file is present:Example Code (PHP Checking for File via GitHub API):
Here’s an example of how the PHP class can be used to check for the existence of the
dependabot.yml
file:Acceptance Criteria:
dependabot.yml
file in the.github
directory for each repository.dependabot.yml
file is present in each repository.Additional Context:
This feature will allow for better monitoring of repositories by ensuring that Dependabot configuration files are present, helping to automate dependency updates across all monitored projects.