-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Invite organization members based on merged PRs: Not working out so well (currentled DISABLED) #178
Comments
Now it is failing. Not sure why. Maybe server spam filter?
|
Latest failure: https://github.com/astropy/astropy-tools/actions/runs/6713077556/job/18243951028
|
I'm guessing as to the cause of the failure, but it may be that the token it is using has expired. I don't recall whether github tokens always have an expiration date or not. That would be an another argument for handling this another way.... |
That may well be the case. The problem it was trying to solve was that for coordinated packages to assign roles or reviews to new-ish contributors they have to be part of the astropy GitHub org first. This was an attempt to automate that to avoid needing a CoCo person to regularly add folks to the org. It may be infrequent enough that it isn't work worrying about, or that manually running the script every X months will be easier. The run logs have some record of who was sent an invitation but that isn't exactly accessible.... |
A cron job on dedicated machine might work better but that introduces a single point of failure. 🤷 |
It keeps spamming me about failing but I have no time to think about this, so I am disabling it until someone can come to fix this for real. |
https://github.com/astropy/astropy-tools/actions/workflows/update_org_members.yml
It silently stopped working last month. I don't want another cron job to babysit. We need to figure out how to have it run unsupervised and actively tell us when something isn't right. And when it does run successfully, a status report on who was invited would be nice.
I don't think GitHub Actions is the right home for this because:
The text was updated successfully, but these errors were encountered: