Closed vladh closed 3 weeks ago
One flow I have started using is to use scheduled GitHub Actions to automatically raise PR:s with such changes.
Examples:
I could try to lend a hand in this if you are interested
Thanks @voxpelli! A workflow would be nice, but I think it needs to send an email or similar — if the JSON file is down on a member's website, we don't have the ability to fix that, so all we can do is let them know.
(Simplifying labels fwiw)
Here's a suggestion. We could have a scheduled GitHub action that runs a script that checks the JSON files. The script would check two things. First of all, is the JSON file inaccessible? Secondly, is the date of the last annual report 11 months in the past or more? We could also add other checks. If one of the checks fails, the action would send an email to all Open Source Pledge maintainers. The maintainers can then decide on the appropriate course of action, which will most likely be forwarding the email to the appropriate contact for that company.
Additionally, on individual member pages, when showing annual reports, if the last annual report is from more than a year ago, we should show a message on the website, explaining that we're waiting for this member's annual report. This will ensure we avoid the appearance of the website being unmaintained or of us being too lax.
I'm generally in favor of solving this one way or another.
If one of the checks fails, the action would send an email to all Open Source Pledge maintainers.
Won't a PR like @voxpelli suggests naturally result in an email (or other notification) to Pledge maintainers?
Won't a PR like @voxpelli suggests naturally result in an email (or other notification) to Pledge maintainers?
For sure, I'm just not quite seeing what suggested changes to our repo the PR would contain.
I guess removing the company from members.csv
could make sense? Bot proposes removing, we then follow up to see if that is the right decision?
Hmm, I don't think so, because:
My thinking was that using GH notification flow is low-hanging fruit, and it's easy enough to close (rather than merge) the PR if/when the member re-ups.
Having the PR also gives us a natural place to keep track of pending renewals and provide updates as we reach out.
Got it, then let's have it open an issue instead of a PR — best of both worlds! If any action is taken we can mention the issue as related.
Perfect. :) 🎉
What if a member's JSON file starts 404ing? Should they stop showing up on the website? Should they stay there, but with a warning label? Should we receive an alert, so that we can contact the member?
What if a member doesn't add an annual report for a long time? Should we receive an alert, so that we can ask them for one?