Skip to content
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

Disable codeclimate when env var is missing #620

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

trotzig
Copy link
Collaborator

@trotzig trotzig commented Feb 22, 2024

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

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
@trotzig trotzig merged commit 75d5d43 into master Feb 22, 2024
3 checks passed
@mikabytes
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing CODECLIMATE_REPO_TOKEN for Github Actions
2 participants