Comparing version 1.14.0 to 1.15.0
11
index.js
@@ -155,2 +155,13 @@ let drone = require('./utils/drone'); | ||
ci = 'now'; | ||
} else if(process.env.BUDDY) { | ||
repo = process.env.BUDDY_PROJECT_NAME; | ||
branch = process.env.BUDDY_EXECUTION_BRANCH; | ||
commit_message = process.env.BUDDY_EXECUTION_REVISION_MESSAGE; | ||
pull_request_number = process.env.BUDDY_EXECUTION_PULL_REQUEST_NO; | ||
pull_request_target_branch = process.env.BUDDY_EXECUTION_PULL_REQUEST_BASE_BRANCH; | ||
sha = process.env.BUDDY_EXECUTION_REVISION; | ||
event = process.env.BUDDY_EXECUTION_MODE; | ||
jobUrl = process.env.BUDDY_EXECUTION_REVISION_URL; | ||
platform = 'buddy'; | ||
ci = 'buddy'; | ||
} else if (process.env.CI) { | ||
@@ -157,0 +168,0 @@ // Generic variables for docker images, custom CI builds, etc. |
{ | ||
"name": "ci-env", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"description": "Environment variables exposed by CI tools", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,3 +10,3 @@ <p align="center"> | ||
Supports travis, circle, gitlab, wercker, drone, codeship, now(zeit), netlify and GitHub Actions. | ||
Supports travis, circle, gitlab, wercker, drone, codeship, now(zeit), netlify, GitHub Actions and Buddy. | ||
@@ -13,0 +13,0 @@ Kinda supports custom CI as well. [Specs here](https://github.com/siddharthkp/ci-env/blob/master/index.js#L68-L79) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 9 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16553
336
140