Close fws automatically after a year

Question

Grade: Education Subject: odoo runbot
Close fws automatically after a year
Asked by:
36 Viewed 36 Answers

Answer (36)

Best Answer
(172)
  • [ ] #1347
  • [ ] add some urgency to the email added for #801 (892fce4ddfec19396cdfbb9cc8e4e750dbd954a5)
  • [ ] after a year, close the PRs
(1540)

To close FWS automatically after a year:

  1. Mark issue #1347
  2. Add some urgency to the email for #801:
    • Subject: Urgent: Review and Merge PR #801 Before It Closes Automatically
    • Body: Dear Team, I wanted to remind you that PR #801 (892fce4ddfec19396cdfbb9cc8e4e750dbd954a5) will close automatically in one year if not merged. I strongly encourage you to review and merge it as soon as possible to avoid losing any valuable changes. Best, [Your Name]
  3. Set up a process to close PRs after a year:
    • You can use GitHub's labeling system to mark PRs that have been open for more than a year.
    • Set up a weekly or monthly script to iterate through open PRs with the "stale" label and close them if they are no longer needed.
    • Consider using a bot to automate the process and send notifications to team members before closing the PRs.

Here's an example of how to mark an issue and a PR with the "stale" label:

# Issue
## Steps to reproduce
...
## Expected result
...
## Actual result
...
## Additional context
...

## Labels
- stale

# Pull Request
## Title
...

## Description
...

## Labels
- stale

By following these steps, you can ensure that FWS is closed automatically after a year, while giving team members a chance to review and merge any valuable changes before they are lost.