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 the Stale Action to select GitHub repos used by our team(s) #174

Open
WadeBarnes opened this issue Mar 19, 2024 · 2 comments
Open

Add the Stale Action to select GitHub repos used by our team(s) #174

WadeBarnes opened this issue Mar 19, 2024 · 2 comments

Comments

@WadeBarnes
Copy link
Member

Add a scheduled workflow using the Stale Action to select repositories to automate the management of long lived Issues and PRs.

The intent is to automate the management of issues and PRs we're unable to address in a timely fashion. The actions taken by the automation will provide us with reminders that no actions have been taken on an item in a given amount of time and then automatically close (clean-up) the items if no actions are taken of another amount of time.

We have been using this action on the bcgov/traction and bcgov/vc-authn-oidc repositories for a while now, though the settings could use some optimization.

Approach:

  1. Determine which repositories should be considered in scope for this task. Repositories from the bcgov, hyperledger, and openwallet-foundation should be considered. Discuss with the DITP team members and the community working on the code within these various organizations to compile a list of candidate repositories.
  2. Determine the best settings and schedule(s) to use for the action. Discuss with the DITP team and the community who are actively addressing issues and PRs to determine what time spans are most appropriate for the stale and close settings, the most appropriate messages to post along with each step, which labels that should exempt an item from becoming stale, along with any other settings appropriate for all or select repositories. There are lots of setting to consider.
  3. Draft PRs for each selected repository, complete with common and customized settings.

Acceptance Criteria:

  1. Acceptance criteria may vary depending on the repository and the community maintaining it. Acceptance will ultimately be decided by maintainer review and approval of the submitted PR. However, in general is expected to be based on a complete, functional, and easily maintainable Stale Action workflow that has settings appropriately configured for the given repository.

Bonus Points:
For bonus points, the PR submission should also include a new or updated dependabot.yml configuration to ensure the GitHub action dependencies are updated on a regular bases using a configuration like this.

@WadeBarnes
Copy link
Member Author

Queries representing the candidate repositories for this task can be found here; #175 (comment)

@WadeBarnes
Copy link
Member Author

WadeBarnes commented Mar 28, 2024

Queries representing the candidate repositories for this task can be found here; #175 (comment)

Top 5 Candidates:

Edit: - List has been updated, bcgov/von-network was replaced with bcgov/vc-authn-oidc in the top 5 list, as bcgov/von-network's dependabot.yml file has already been configured. bcgov/von-network still needs to be updated with Stale Action.

Edit: - Updated the list. Added the bcgov/BC-Wallet-Demo repo and removed the openwallet-foundation/bifold-wallet repo for now. This will provide some additional practice on our repos before branching out to more global repos.

Edit: - Updated the list. Limited the top 5 to BC Gov repos. This will provide some additional practice on our repos before branching out to more global repos.

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

No branches or pull requests

1 participant