start-here icon indicating copy to clipboard operation
start-here copied to clipboard

Invite Workflow Sporadically Failing

Open meg-gutshall opened this issue 3 years ago • 3 comments

Description

During today's Open Source 101 presentation the invite workflow failed without an obvious explanation. It went through to line 25 of the run.rb file because it puts out USER: #{user} and sends an invite via email, but it does not execute from lines 28 downward.

Screenshots

Screenshot

Files

To Reproduce

It looks as though any PR from a contributor that triggers the workflow will yield this same result.

meg-gutshall avatar Mar 30 '21 21:03 meg-gutshall

Possible Cause

After investigating the issue further, I think the cause lies with Octokit not updating their code to match GitHub's API endpoints.

References

Solutions

  1. Use @octokit/core.js instead.
  2. Create a PR against the aforementioned issue in octokit.rb and see if that solves the problem! It looks like quite an involved process for creating a PR on that repo—I'll co-author it with you if you'd like!

meg-gutshall avatar Mar 30 '21 21:03 meg-gutshall

It's still under maintenance Thank you so much for this discovery!

thuongtruong1009 avatar Dec 03 '21 14:12 thuongtruong1009

Because I want to stay on top of everything that goes on in this organization and of course, as a good dev, you have to know about the challenges of this incredible world of programming

estevam5s avatar Jul 02 '22 21:07 estevam5s