File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
tests/code-check-roave-backward-compatibility Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -467,6 +467,12 @@ export default function createConfig(
467
467
468
468
configurationFromFile . extensions ?. forEach ( ( extension ) => phpExtensions = phpExtensions . add ( extension ) ) ;
469
469
470
+ let baseReference : string | null = ( process . env . GITHUB_BASE_REF ?? '' ) . replaceAll ( '"' , '' ) ;
471
+
472
+ if ( baseReference === '' ) {
473
+ baseReference = null ;
474
+ }
475
+
470
476
return {
471
477
codeChecks : requirements . codeChecks ,
472
478
docLinting : requirements . docLinting ,
@@ -480,7 +486,7 @@ export default function createConfig(
480
486
ignorePhpPlatformRequirements : configurationFromFile . ignore_php_platform_requirements ?? { } ,
481
487
additionalComposerArguments : [ ... new Set ( configurationFromFile . additional_composer_arguments ?? [ ] ) ] ,
482
488
backwardCompatibilityCheck : configurationFromFile . backwardCompatibilityCheck ?? false ,
483
- baseReference : process . env . GITHUB_BASE_REF ?? null ,
489
+ baseReference : baseReference ,
484
490
} ;
485
491
}
486
492
Original file line number Diff line number Diff line change 1
- GITHUB_BASE_REF = 1111222233334444aaaabbbbccccdddd
1
+ GITHUB_BASE_REF = " 1111222233334444aaaabbbbccccdddd"
You can’t perform that action at this time.
0 commit comments