progsource / maddy

C++ Markdown to HTML header-only parser library
MIT License
194 stars 39 forks source link

Add ClusterFuzzLite integration #54

Open DavidKorczynski opened 7 months ago

DavidKorczynski commented 7 months ago

This adds fuzzing by way of ClusterFuzzLite, which is a GitHub action that will perform a short amount of fuzzing for new PRs. The goal is to use fuzzing to catch bugs that may be introduced by new PRs.

I added a fuzzer that targets the parsing logic, and currently set the timeout of CFLite to 180 seconds. CFLite will flag if the fuzzer finds any issues in the code introduced by a PR.

progsource commented 7 months ago

In https://github.com/progsource/maddy/actions/runs/7307934736/job/19914831467?pr=54 it says

2023-12-23 12:46:55,438 - root - ERROR - Request to https://api.github.com/repos/progsource/maddy/actions/artifacts?per_page=100&page=1 failed. Code: 401. Response: {'message': 'Bad credentials', 'documentation_url': 'https://docs.github.com/rest'}

Does there need to be maybe another secrets.GITHUB_TOKEN somewhere?