Ci-environment

Latest version: v10.0.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

9.0.2

Fixed
- Correctly determine GitHub branch from `GITHUB_HEAD_REF` instead of `GITHUB_REF` ([85](https://github.com/cucumber/ci-environment/pull/85))
- Better error message if revision cannot be determined from GitHub pull request ([85](https://github.com/cucumber/ci-environment/pull/85))

9.0.1

Fixed
- Provide correct SHA for GitHub Actions ([67](https://github.com/cucumber/ci-environment/issues/67), [#69](https://github.com/cucumber/ci-environment/pull/69))

9.0.0

Added
- [JavaScript] export `Env`, `Git`, `CiEnvironment` and `CiEnvironments` types

Changed
- [JavaScript] make `buildNumber` optional ([51](https://github.com/cucumber/ci-environment/pull/51))
- [Java] use `Optional<T>` for optional values ([50](https://github.com/cucumber/ci-environment/pull/50))

8.1.0

Added
- [JavaScript] - package as hybrid esm/commonjs module ([47](https://github.com/cucumber/ci-environment/pull/47))

8.0.1

Fixed
- [Ruby] `detect_ci_environment` was not returning `nil` if no CI had been detected

8.0.0

Changed
- Make `git` optional, make `git.revision` and `git.remote` mandatory ([37](https://github.com/cucumber/ci-environment/pull/37))

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.