con / con/tinuous

Problem with Github Token logic - Error 403 (not logged) vs Error 500 (logged)

Open
#149 12 comments 0 reactions 0 assignees View on GitHub
GitHub Actions
Dominant language
Python
Stars
10
Forks
4
Avg merge
2h 12m
Merged PRs (30d)
1

Description

Hello !

Thanks a lot for your work.

I've found that for some URLS, `tinuous fetch` fails to handle the "Must have admin rights" case, with multiple retries and an exit error.

Expected behaviour : skip this URL and continue to fetch remaining logs.

To reproduce :

403 with "message": "Must have admin rights to Repository."
```
curl -i \
https://api.github.com/repos/ProjectOpenSea/opensea-js/actions/runs/1868323967/logs
```

500 with "message": "Failed to generate URL to download logs"
```
curl -i -H "Authorization: token ghp_REDACTED" \
https://api.github.com/repos/ProjectOpenSea/opensea-js/actions/runs/1868323967/logs
```

Have a nice day.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.