cli icon indicating copy to clipboard operation
cli copied to clipboard

"There's still an error" message when trying to run cli via GH actions

Open achieveordie opened this issue 2 years ago • 1 comments

Describe the bug I wanted to try an alternative way to automate adding contributors. For that purpose, I wrote a GH action workflow file that is triggered whenever it detects a change in .all-contributorsrc. This runner then sets up node, generates CONTRIBUTORS.md and commits it in the same PR that triggers it. You can find the workflow file in my PR here.

However, there's a vague "There's still an error" message when running the npx all-contributors generate step. Due to the vagueness of the error message, I'm unable to diagnose what component is giving this error (could be all-contributors-cli, GHA or an error from the runner itself). It is only after knowing the source of the error, that I can try to debug it.

So I wanted to know if all-contributors-cli is throwing this error and if yes then is there a potential way to correct it?

To Reproduce

Expected behavior

Screenshots Attaching the log message in case it gets cleaned by GH: error

Additional context Please let me know if any additional context is required.

achieveordie avatar Dec 07 '22 12:12 achieveordie

You should be using all-contributors-cli not all-contributors which should give a message saying the same thing.

Berkmann18 avatar Jan 05 '23 21:01 Berkmann18