Security release: Post a message on security implementation issues when development cutoff date is near
I noticed we manually post a message on every security implementation issue that is not ready (i.e https://gitlab.com/gitlab-org/security/gitlab/-/issues/137#note_348489986), to alert the user the deadline is near and they should take necessary measures so the issue and merge requests are included in the Security Release.
Doing this manually is time-consuming, so we should automate this.
Proposal
- Add a rake task that iterates over every security issue associated to the Security Release Tracking issue and:
- If the issue is not ready to be processed (= issue has less than 4 merge requests associated, and merge requests are not assigned to the bot), it leaves a comment for the author notifying the deadline is coming soon.
- If the issue is ready, it does nothing.
- Execute this rake task through ChatOps
- Or alternatively, this task is automatically executed 2 days before the due date set on the Security Release Tracking issue.