Skip to content

Enhance GHA: Update VMRS data to fetch required data #7527

@FamousHero

Description

@FamousHero

Dependency

Overview

We are currently storing excess data in vrms_data.json. We need to store only necessary data to make the website work. See Resources/Instructions for required data.

Details

Currently, all data fetched from the VRMS API is being saved. This means we are exposing unnecessary information to end users. We should only update required information and delete everything else in order to ensure data privacy, protection & security. Required data under resources

Action Items

  • Read and understand Hack for LA's GitHub Actions Architecture wiki
  • Create a new folder in github-actions/trigger-schedule named vrms-data
    • In that new folder create a new file named filter-vrms-data.js
  • Write the code required to filter the vrms data & save it to _data/external/vrms_data.json
  • Integrate the new file with the "Update VMRS data" workflow triggered by .github/workflows/vrms-data.yml
  • Test the workflow in your repo and demonstrate that your solution works.
  • Test that all pages that rely on vrms_data.json are unchanged

Resources/Instructions

Metadata

Metadata

Type

No type

Projects

Status

In progress (actively working)

Relationships

None yet

Development

No branches or pull requests

Issue actions