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

Implementing a Thor task which audits GitHub repositories for stale issues #167

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jrgriffiniii
Copy link
Contributor

This is a proposed initial step for starting the auditing process identified during the Samvera Northeast Regional Meeting in Princeton, NJ on October 14 - 15, 2024

@jrgriffiniii
Copy link
Contributor Author

Please note that I have tested this task against the following repositories:

@jrgriffiniii jrgriffiniii self-assigned this Oct 17, 2024
@jrgriffiniii jrgriffiniii force-pushed the thor-audit-task branch 3 times, most recently from 94f9601 to 3826a8a Compare October 18, 2024 15:56
@jrgriffiniii
Copy link
Contributor Author

jrgriffiniii commented Oct 18, 2024

I now have this updated to address the following:

  • Auditing a repository for stale issues
    • Where issues were created and updated prior to a certain date, the label stale is applied to the issue, the issue is unassigned from any assignees, the issue is removed from any milestones, and a comment is made tagging the creator of the issue notifying them that the issue is now considered stale
  • Auditing a repository for CircleCI configuration files
    • If there is no .circleci/config.yml file, if the file does not reference the latest minor release of https://github.com/samvera/samvera-circleci-orb, if the tests do not check for a master branch, or if deprecated releases of ruby or rails are used in testing, then GitHub issues are created indicating these audit failures
  • Adding GitHub users to a team within a GitHub organization
  • Removing GitHub users to a team within a GitHub organization

@jrgriffiniii
Copy link
Contributor Author

This now also features Thor tasks for adding and removing owners of a given Gem on RubyGems.

@jrgriffiniii jrgriffiniii requested a review from a team October 21, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review Required
Development

Successfully merging this pull request may close these issues.

1 participant