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

in_ci() doesn't include in_github_actions() #1233

Closed
AshesITR opened this issue May 25, 2022 · 3 comments
Closed

in_ci() doesn't include in_github_actions() #1233

AshesITR opened this issue May 25, 2022 · 3 comments

Comments

@AshesITR
Copy link
Collaborator

GHA is also a CI, no?

@hadley
Copy link
Member

hadley commented May 25, 2022

You can also check that the CI env var is set; that's common across many platforms and is what we generally use.

@hadley
Copy link
Member

hadley commented May 25, 2022

It seems like https://github.com/r-lib/lintr/blob/lint-error/R/methods.R#L68-L82 assumes in_ci() will return TRUE on GHA.

...

Oh but there's a separate branch specifically for GHA: https://github.com/r-lib/lintr/blob/lint-error/R/methods.R#L65-L67

@IndrajeetPatil
Copy link
Collaborator

This is no longer relevant (cf. #2446).

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

No branches or pull requests

4 participants