all-contributors / all-contributors/cli

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

未关闭
#346 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
type: bug
主要语言
JavaScript
星标
425
派生
149
PR 合并指标
30 天内没有已合并 PR

描述

**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](https://github.com/sktime/sktime/pull/3807).

However, there's a vague "There's still an error" [message](https://github.com/sktime/sktime/pull/3807/checks#step:5:1) 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](https://user-images.githubusercontent.com/54197164/206181108-a749b933-96c8-479c-ba0c-a0a8acce6720.jpg)

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。