GHA: github data - hackforla/website GitHub Wiki
Summary
get-project-data.js appends new project data to github-data.json and commits that to the repository
Scheduled
Scheduled to run everyday at 11:00am GMT (3am PST) via the schedule-daily-1100.yml workflow file
Workflow
- Retrieve old github-data.json
- Retrieve all tagged and untagged repos
- For each repo:
- Retrieve:
- id
- name
- languages
- url
- Issue Contributors
- Issue Comment Contributors
- Project Contributors
- Append data in format below:
{
id: repo.id,
name: repo.name,
languages: Object.keys(repoLanguages.data),
repoEndpoint: repo.url,
commitContributors: {
data: commitContributors
},
issueComments: {
data: issueCommentContributors
},
contributorsComplete: {
data: projectContributors
},
}
Supporting Files/Folders
- Supporting Files Folder 1: github-data directory
- Data: github-data.json
- Workflow File: schedule-daily-1100.yml