Skip to content

Gha github data

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#

  1. Retrieve old github-data.json
  2. Retrieve all tagged and untagged repos
  3. For each repo:
    1. Retrieve:
    2. id
    3. name
    4. languages
    5. url
    6. Issue Contributors
    7. Issue Comment Contributors
    8. Project Contributors
    9. 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#