-
Notifications
You must be signed in to change notification settings - Fork 12
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
Couldn't fetch access token for Github application #172
Comments
Hello @dguettler! I am sorry for the issue we have with that version of barecheck. Can you please update barecheck github action to v1? Like here: |
Hi,
I updated the version, now the error changed to
```
Error: Couldn't fetch accessToken token by using apiKey. Check if you use
the correct `API_KEY`
```
Do I need to change the environment secret name?
Thanks, Daniel
…On Tue, Apr 26, 2022 at 4:15 AM Vitalii Melnychuk ***@***.***> wrote:
Hello @dguettler <https://github.com/dguettler>!
I am sorry for the issue we have with that version of barecheck. Can you
please update barecheck github action to v1?
Like here: ***@***.*** I will update all docs to
use proper version.
—
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAP7SDROGD5KNBZRM2JDDVG6QZFANCNFSM5UDKQGCA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks for your feedback @dguettler. I am sorry you have faced those problems with action. I already fixed the issue here #175. You don't need to update anything, just run your workflow once more and it should pass and post a comment. You always are able to use https://www.barecheck.com/ to store results and make comparison with previous executions but it's not required. Let me know if you still experiencing any issues. |
Hello @dguettler! Do you still have the issue with action after running action one more time? |
Thanks a lot for a great job. I also faced the similar issue. we used v.0.51 for a while, but the last week it stopped posting the summary commit, after upgrading to v1 (
I tried to rerun the job several times, but it did not help. Could you please help with this? |
Hello @andrey-sheremeta! I released v1 as a stable version and will deprecate all previous releases soon. I am sorry that you faced the issue with the old version. Can you please try to uninstall and install the application again to get a new token to post comments? If it will not help please send here your config of the action. I am more than happy to fix the issue you're facing. |
No the action did run thank you. I think though that it doesn’t do anything
unless I also provide a base coverage report. Is this assumption correct?
…On Sat, Apr 30, 2022 at 7:48 AM Vitalii Melnychuk ***@***.***> wrote:
Hello @dguettler <https://github.com/dguettler>!
Do you still have the issue with action after running action one more time?
—
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAP7TJK47TITD4P5XCZNTVHUMYHANCNFSM5UDKQGCA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello @dguettler! If you don't have the base coverage report passed it should still post a comment with all uncovered lines but without the comparison part. It usually helps to pass base coverage reports or use Barecheck cloud to have diff in percentages. |
this is what I currently get in the logs
There is no comment, but I'm also just testing this on a PR which only adds the check. So not sure if this is or isn't the expected outcome. |
This is on a 2nd project
again, no comment. Only change in the PR is adding the actions to run the check. |
It's strange that you have Another thing, what do you pass as |
I'll check on the file. Yes it's the token received after installation. |
Hello @dguettler! Maybe you can also try to uninstall/install Barecheck application to make sure that token is valid. |
We reinstalled the Barecheck application and updated the token, but it did not help. attach the config of the action, so you can review it:
Thanks. |
Hey @andrey-sheremeta! It's really weird. I just added PR to test #184 and it looks fine, not sure what is different on your side. I also did regenerate a token and updated secret with a new one? You've got the token from here, right? |
yes, right. we removed and installed the app several times but it did not help. also, we found the thanks a lot for the help. |
@andrey-sheremeta Sure, let me know if you will need any help. This is really weird that you have this access issue. |
Wait, I have the barecheck-github-app-token configured, but it’s looking
for barecheck-api-key, where is this one coming from?
On Tue, Apr 26, 2022 at 8:01 AM Daniel Guettler ***@***.***>
wrote:
… Hi,
I updated the version, now the error changed to
```
Error: Couldn't fetch accessToken token by using apiKey. Check if you use
the correct `API_KEY`
```
Do I need to change the environment secret name?
Thanks, Daniel
On Tue, Apr 26, 2022 at 4:15 AM Vitalii Melnychuk <
***@***.***> wrote:
> Hello @dguettler <https://github.com/dguettler>!
>
> I am sorry for the issue we have with that version of barecheck. Can you
> please update barecheck github action to v1?
>
> Like here: ***@***.*** I will update all docs to
> use proper version.
>
> —
> Reply to this email directly, view it on GitHub
> <#172 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAAAP7SDROGD5KNBZRM2JDDVG6QZFANCNFSM5UDKQGCA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Hello @dguettler! Hope you're doing well.
Let me know if this works for you |
Hi,
I followed the instructions, created a token, made it available as a secret in the application, but I'm running into this error
Any idea what is going wrong here?
Thank you.
The text was updated successfully, but these errors were encountered: