hackforla / hackforla/peopledepot
Script to check id and url match for all projects
- Dominant language
- Python
- Stars
- 14
- Forks
- 37
- Avg merge
- 9d 15h
- Merged PRs (30d)
- 5
Description
### Dependency
- #218
### Overview
We need a script (management command) to check (weekly?) that the id and url match for all the projects, for validation, as decided [here](https://github.com/hackforla/peopledepot/issues/290#issue-2328718138). This is something we need for the deployed instance of the backend.
### Action Items
- [ ] create script
- [ ] setup GHA or something else to trigger it weekly
- [ ] document how it works
### Resources/Instructions
- Github `repo names` can change (done by the project) but not the `id`
- the script should use the `github_primary_repo_id` to verify the `repo_id`
- create a new issue for any mismatch and include a report in the issue content
- this command retrieves the `repo_id` for the `repo_url`
`curl -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/civictechindex/CTI-website-frontend`
Contributor guide
Assessment
This issue has not been assessed yet.