Galooshi / import-js

A tool to simplify importing JS modules
MIT License
525 stars 55 forks source link

Disable codeclimate when env var is missing #620

Closed trotzig closed 9 months ago

trotzig commented 9 months ago

When outside contributors, e.g. dependabot, pushes a PR, the CODECLIMATE_REPO_TOKEN env variable is not present (it's a secret defined on the github account). We can ignore the codeclimate report in these cases to let tests still pass.

An alternative option would be to make the codeclimate secret available to everyone, but that's not very safe.

Fixes #619

mikabytes commented 9 months ago

Great, thanks for taking the time to work on this. I know you're busy :+1: