Skip to content

Action: Create MVP action with python script to determine archival candidacy#4

Open
natalialuzuriaga wants to merge 1 commit intomainfrom
DSACMS/nat/mvp-again
Open

Action: Create MVP action with python script to determine archival candidacy#4
natalialuzuriaga wants to merge 1 commit intomainfrom
DSACMS/nat/mvp-again

Conversation

@natalialuzuriaga
Copy link
Copy Markdown
Contributor

@natalialuzuriaga natalialuzuriaga commented Mar 12, 2026

Action: Create MVP action with python script to determine archival candidacy

Problem

We would like to create a GitHub Action that identifies repositories that may be candidates for archival based on inactivity, usage, repository contents, and OpenSSF criticality score

Solution

This PR implements the foundation of the action:

  • Uses superchangelog to retrieve activity development data for all repositories in an organization within a period of time
  • main.py script uses this data and retrieves other data such as fork activity to assess usage and OpenSSF criticality score
  • A markdown table is outputted as a PR with the results and status determination of a repository (dormant vs active)

Result

Given a GitHub Org, archival-identifier would be able to identify which repositories are candidates for archival by looking at its inactivity, usage via forks, and OpenSSF criticality score

Test Plan

Create a workflow file using DSACMS/archival-identifier@DSACMS/nat/mvp-again Use DSACMS/testing-repository to test.

Note: The action is failing because it needs a data.json from super-changelog which contains development activity data to be able to do the archival candidacy calculations.
https://github.com/DSACMS/testing-repository/actions/runs/24527510997/job/71701615813

However, with a data.json, this works (I sent via slack)! I manually created the issue with the results here (this is not published by the action): DSACMS/testing-repository#62

… of all repos in an org

Signed-off-by: Natalia Luzuriaga <natalia.luzuriaga@cms.hhs.gov>
@natalialuzuriaga natalialuzuriaga requested a review from DinneK April 16, 2026 18:31
@natalialuzuriaga natalialuzuriaga marked this pull request as ready for review April 16, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant