Skip to content

GHA: github data

Matt Pereira edited this page Feb 10, 2023 · 9 revisions

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:
    • id
    • name
    • languages
    • url
    • Issue Contributors
    • Issue Comment Contributors
    • Project Contributors
    1. 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

Clone this wiki locally