File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
packages/builder-util/src Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " builder-util " : patch
3
+ ---
4
+
5
+ feat: add Github Actions environment variable to isPullRequest method to detect if build is a PR
Original file line number Diff line number Diff line change @@ -327,7 +327,11 @@ export function isPullRequest() {
327
327
}
328
328
329
329
return (
330
- isSet ( process . env . TRAVIS_PULL_REQUEST ) || isSet ( process . env . CIRCLE_PULL_REQUEST ) || isSet ( process . env . BITRISE_PULL_REQUEST ) || isSet ( process . env . APPVEYOR_PULL_REQUEST_NUMBER )
330
+ isSet ( process . env . TRAVIS_PULL_REQUEST ) ||
331
+ isSet ( process . env . CIRCLE_PULL_REQUEST ) ||
332
+ isSet ( process . env . BITRISE_PULL_REQUEST ) ||
333
+ isSet ( process . env . APPVEYOR_PULL_REQUEST_NUMBER ) ||
334
+ isSet ( process . env . GITHUB_BASE_REF )
331
335
)
332
336
}
333
337
You can’t perform that action at this time.
0 commit comments