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

Suggestion to clean up issues: Using GitHub Actions & Adding a Pull Request Template #2698

Closed
peterdanwan opened this issue Nov 29, 2024 · 0 comments · May be fixed by #2708
Closed

Suggestion to clean up issues: Using GitHub Actions & Adding a Pull Request Template #2698

peterdanwan opened this issue Nov 29, 2024 · 0 comments · May be fixed by #2708
Assignees

Comments

@peterdanwan
Copy link
Contributor

peterdanwan commented Nov 29, 2024

Hello!

I was hoping to see if adding the following to your repository would be welcomed:

I bring this up because I'm really invested in trying to contribute to this repository and noticed that a few of the issues I wanted to work on seemed to have been resolved with pull requests merged into them already.

Perhaps if we add a pull request template that has verbiage like "This pull request closes #ISSUE_NUMBER", we could lower the number of resolved issues that are still open.

Similarly, by having a GitHub action that closes stale issues, it might be possible to gauge if some issues are still lingering despite being logged a long time ago (i.e., if the one that logged an issue still states that the issue is still ongoing).

I'd be happy to work on this if these are welcomed additions!

ImBIOS added a commit to ImBIOS/youtube that referenced this issue Dec 4, 2024
Fixes code-charity#2698

Add a GitHub Actions workflow to close stale issues and a pull request template to ensure issues are closed when pull requests are merged.

* **GitHub Actions Workflow for Closing Stale Issues**
  - Create a new workflow file `.github/workflows/stale.yml`.
  - Use the `actions/stale@v4` action to automatically close issues that have been inactive for 30 days.
  - Set `days-before-stale` to 30 and `days-before-close` to 7.
  - Exclude issues with the `pinned` or `security` labels from being marked as stale.

* **Pull Request Template**
  - Create a new pull request template file `.github/PULL_REQUEST_TEMPLATE/pull_request_template.md`.
  - Include verbiage like "This pull request closes #ISSUE_NUMBER" to ensure that an issue is closed when the pull request is merged.

* **Documentation Updates**
  - Update `CONTRIBUTING.md` to include sections about the new GitHub Actions workflow for closing stale issues and the new pull request template.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/code-charity/youtube/issues/2698?shareId=XXXX-XXXX-XXXX-XXXX).
@peterdanwan peterdanwan closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2024
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 a pull request may close this issue.

2 participants