Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stale repos workflow #42

Closed
wants to merge 4 commits into from
Closed

Conversation

Firebird1029
Copy link
Member

@Firebird1029 Firebird1029 commented Jul 31, 2024

Add stale repos workflow

Problem

Currently, there is no way to easily see which repos in the DSACMS org
are stale.

Solution

This Github Action workflow automatically creates an issue in the open
repo with a list of stale repos in the DSACMS Github org. The workflow
is currently configured to run on the first day of every month, and is set
to recognize stale repos when they reach over one year without
any edits.

Result

The automated issue it created is here: #41

@decause-gov
Copy link
Contributor

Very interesting!

A couple of thoughts/questions:

  1. Should we broaden the staleness threshhold to 730 days? (2 years?) Public Sector repos tend to go through longer cycles of dormancy, based on what we've seen so far.
  2. Should this run in /metrics instead of /open?
  3. Should this feed metadata in our code.json file? (lastUpdated perhaps?)
    3a. There is also metadata for (createdAt, and latestRelease, iirc?) Should we lump them all into one workflow/script?

I think there's no harm in shipping this as is, but I think we want /metrics code.json/repometrics to be our 'source of truth' for metadata about repos going forward.

@Firebird1029
Copy link
Member Author

Created new PR in metrics repo.

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.

2 participants