File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed
Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - name : Comment PR
11- if : github.base_ref == 'master' && github.head_ref != 'next '
11+ if : github.base_ref == 'master' && github.head_ref != 'staging '
1212 uses : thollander/actions-comment-pull-request@v2
1313 with :
1414 message : |
Original file line number Diff line number Diff line change 1+ ### Version: 2.15.1
2+ #### Date: Oct-08-2024
3+
4+ ##### Fix:
5+ - Removed exclusion of env when adding headers
6+
17### Version: 2.15.0
28#### Date: Jul-30-2024
39
Original file line number Diff line number Diff line change @@ -1380,12 +1380,8 @@ public async Task<T> Fetch<T>()
13801380 headerAll [ "authorization" ] = this . ContentTypeInstance . StackInstance . LivePreviewConfig . ManagementToken ;
13811381 isLivePreview = true ;
13821382 }
1383- else
1384- {
1385- mainJson . Add ( "environment" , this . ContentTypeInstance . StackInstance . Config . Environment ) ;
1386- }
13871383
1388-
1384+ mainJson . Add ( "environment" , this . ContentTypeInstance . StackInstance . Config . Environment ) ;
13891385 foreach ( var kvp in UrlQueries )
13901386 {
13911387 mainJson . Add ( kvp . Key , kvp . Value ) ;
Original file line number Diff line number Diff line change @@ -1851,10 +1851,8 @@ private async Task<JObject> Exec()
18511851 headerAll [ "authorization" ] = this . ContentTypeInstance . StackInstance . LivePreviewConfig . ManagementToken ;
18521852 isLivePreview = true ;
18531853 }
1854- else
1855- {
1856- mainJson . Add ( "environment" , this . ContentTypeInstance . StackInstance . Config . Environment ) ;
1857- }
1854+
1855+ mainJson . Add ( "environment" , this . ContentTypeInstance . StackInstance . Config . Environment ) ;
18581856 if ( QueryValueJson != null && QueryValueJson . Count > 0 )
18591857 mainJson . Add ( "query" , QueryValueJson ) ;
18601858
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <Version >2.15.0 </Version >
3+ <Version >2.15.1 </Version >
44 </PropertyGroup >
55</Project >
You can’t perform that action at this time.
0 commit comments