File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1002,11 +1002,11 @@ async function isTrapCachingEnabled(
10021002 features : FeatureEnablement ,
10031003 overlayDatabaseMode : OverlayDatabaseMode ,
10041004) : Promise < boolean > {
1005- // If the workflow specified something always respect that
1005+ // If the workflow specified something, always respect that.
10061006 const trapCaching = getOptionalInput ( "trap-caching" ) ;
10071007 if ( trapCaching !== undefined ) return trapCaching === "true" ;
10081008
1009- // On self-hosted runners which may have slow network access, disable TRAP caching by default
1009+ // On self-hosted runners which may have slow network access, disable TRAP caching by default.
10101010 if ( ! isHostedRunner ( ) ) return false ;
10111011
10121012 // If overlay analysis is enabled, then disable TRAP caching since overlay analysis supersedes it.
@@ -1018,7 +1018,7 @@ async function isTrapCachingEnabled(
10181018 return false ;
10191019 }
10201020
1021- // Otherwise, enable TRAP caching
1021+ // Otherwise, enable TRAP caching.
10221022 return true ;
10231023}
10241024
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export enum Feature {
8080 OverlayAnalysisSkipResourceChecks = "overlay_analysis_skip_resource_checks" ,
8181 /** Controls whether the Actions cache is checked for overlay build outcomes. */
8282 OverlayAnalysisStatusCheck = "overlay_analysis_status_check" ,
83- /** Controls whether overlay build failures on are stored in the Actions cache. */
83+ /** Controls whether overlay build failures on the default branch are stored in the Actions cache. */
8484 OverlayAnalysisStatusSave = "overlay_analysis_status_save" ,
8585 PythonDefaultIsToNotExtractStdlib = "python_default_is_to_not_extract_stdlib" ,
8686 QaTelemetryEnabled = "qa_telemetry_enabled" ,
You can’t perform that action at this time.
0 commit comments