-
-
Notifications
You must be signed in to change notification settings - Fork 777
GHA: github data
Matt Pereira edited this page Feb 10, 2023
·
9 revisions
get-project-data.js appends new project data to github-data.json and commits that to the repository
Scheduled to run everyday at 11:00am GMT (3am PST) via the schedule-daily-1100.yml workflow file
- 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 Folder 1: github-data directory
- Data: github-data.json
- Workflow File: schedule-daily-1100.yml
Click the arrow below each category to view links (or view original alphabetical list by clicking "Pages" above) :