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 8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- name : Comment PR
11
- if : github.base_ref == 'master' && github.head_ref != 'next '
11
+ if : github.base_ref == 'master' && github.head_ref != 'staging '
12
12
uses : thollander/actions-comment-pull-request@v2
13
13
with :
14
14
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
+
1
7
### Version: 2.15.0
2
8
#### Date: Jul-30-2024
3
9
Original file line number Diff line number Diff line change @@ -1380,12 +1380,8 @@ public async Task<T> Fetch<T>()
1380
1380
headerAll [ "authorization" ] = this . ContentTypeInstance . StackInstance . LivePreviewConfig . ManagementToken ;
1381
1381
isLivePreview = true ;
1382
1382
}
1383
- else
1384
- {
1385
- mainJson . Add ( "environment" , this . ContentTypeInstance . StackInstance . Config . Environment ) ;
1386
- }
1387
1383
1388
-
1384
+ mainJson . Add ( "environment" , this . ContentTypeInstance . StackInstance . Config . Environment ) ;
1389
1385
foreach ( var kvp in UrlQueries )
1390
1386
{
1391
1387
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()
1851
1851
headerAll [ "authorization" ] = this . ContentTypeInstance . StackInstance . LivePreviewConfig . ManagementToken ;
1852
1852
isLivePreview = true ;
1853
1853
}
1854
- else
1855
- {
1856
- mainJson . Add ( "environment" , this . ContentTypeInstance . StackInstance . Config . Environment ) ;
1857
- }
1854
+
1855
+ mainJson . Add ( "environment" , this . ContentTypeInstance . StackInstance . Config . Environment ) ;
1858
1856
if ( QueryValueJson != null && QueryValueJson . Count > 0 )
1859
1857
mainJson . Add ( "query" , QueryValueJson ) ;
1860
1858
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
- <Version >2.15.0 </Version >
3
+ <Version >2.15.1 </Version >
4
4
</PropertyGroup >
5
5
</Project >
You can’t perform that action at this time.
0 commit comments