Galooshi / import-js

A tool to simplify importing JS modules
MIT License
524 stars 70 forks source link

Disable codeclimate when env var is missing #620

Closed trotzig closed 6 months ago

trotzig commented 6 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 6 months ago

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