Skip to content

Commit c4dbcae

Browse files
committed
Merge branch 'main' of https://github.com/microsoft/BCApps into private/haoransun/testtype
2 parents 88123ed + 476eb9e commit c4dbcae

259 files changed

Lines changed: 18292 additions & 1140 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/AL-Go-Settings.json

Lines changed: 59 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/043c3a212d0131d917eb87c9f9d9e8f55bc67179/Actions/.Modules/settings.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.1/.Modules/settings.schema.json",
33
"type": "PTE",
44
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
55
"bcContainerHelperVersion": "preview",
66
"runs-on": "windows-latest",
77
"cacheImageName": "",
88
"UsePsSession": false,
9-
"artifact": "bcinsider/Sandbox/28.0.42625.0//latest",
9+
"artifact": "bcinsider/Sandbox/28.0.43245.0//latest",
1010
"country": "base",
1111
"useProjectDependencies": true,
1212
"repoVersion": "28.0",
@@ -36,21 +36,62 @@
3636
}
3737
}
3838
],
39-
"unusedALGoSystemFiles": [
40-
"AddExistingAppOrTestApp.yaml",
41-
"CreateApp.yaml",
42-
"CreateOnlineDevelopmentEnvironment.yaml",
43-
"CreatePerformanceTestApp.yaml",
44-
"CreateRelease.yaml",
45-
"CreateTestApp.yaml",
46-
"Current.yaml",
47-
"NextMajor.yaml",
48-
"NextMinor.yaml",
49-
"PublishToEnvironment.yaml",
50-
"Test Current.settings.json",
51-
"Test Next Minor.settings.json",
52-
"Test Next Major.settings.json"
53-
],
39+
"customALGoFiles": {
40+
"filesToExclude": [
41+
{
42+
"sourceFolder": ".github/workflows",
43+
"filter": "AddExistingAppOrTestApp.yaml"
44+
},
45+
{
46+
"sourceFolder": ".github/workflows",
47+
"filter": "CreateApp.yaml"
48+
},
49+
{
50+
"sourceFolder": ".github/workflows",
51+
"filter": "CreateOnlineDevelopmentEnvironment.yaml"
52+
},
53+
{
54+
"sourceFolder": ".github/workflows",
55+
"filter": "CreatePerformanceTestApp.yaml"
56+
},
57+
{
58+
"sourceFolder": ".github/workflows",
59+
"filter": "CreateRelease.yaml"
60+
},
61+
{
62+
"sourceFolder": ".github/workflows",
63+
"filter": "CreateTestApp.yaml"
64+
},
65+
{
66+
"sourceFolder": ".github/workflows",
67+
"filter": "Current.yaml"
68+
},
69+
{
70+
"sourceFolder": ".github/workflows",
71+
"filter": "NextMajor.yaml"
72+
},
73+
{
74+
"sourceFolder": ".github/workflows",
75+
"filter": "NextMinor.yaml"
76+
},
77+
{
78+
"sourceFolder": ".github/workflows",
79+
"filter": "PublishToEnvironment.yaml"
80+
},
81+
{
82+
"sourceFolder": ".github",
83+
"filter": "Test Current.settings.json"
84+
},
85+
{
86+
"sourceFolder": ".github",
87+
"filter": "Test Next Minor.settings.json"
88+
},
89+
{
90+
"sourceFolder": ".github",
91+
"filter": "Test Next Major.settings.json"
92+
}
93+
]
94+
},
5495
"excludeEnvironments": [
5596
"Official-Build"
5697
],
@@ -89,7 +130,7 @@
89130
]
90131
},
91132
"UpdateALGoSystemFilesEnvironment": "Official-Build",
92-
"templateSha": "0d0ce49459715862355da2d538a4d5580061104b",
133+
"templateSha": "ea3d5bbe34df20fe7aee686ac4f69b6cec879ed8",
93134
"commitOptions": {
94135
"messageSuffix": "Related to AB#539394",
95136
"pullRequestAutoMerge": true,

.github/RELEASENOTES.copy.md

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,66 @@
1-
## preview
1+
## v8.1
22

3-
Note that when using the preview version of AL-Go for GitHub, we recommend you Update your AL-Go system files, as soon as possible when informed that an update is available.
3+
### Custom AL-Go files
4+
5+
AL-Go for GitHub now supports updating files from your custom templates via the new `customALGoFiles` setting. Read more at [customALGoFiles](https://aka.ms/algosettings#customALGoFiles).
6+
7+
### Set default values for workflow inputs
8+
9+
A new setting `workflowDefaultInputs` allows you to configure default values for workflow_dispatch inputs. This makes it easier to run workflows manually with consistent settings across your team.
10+
11+
When you add this setting to your AL-Go settings file and run the "Update AL-Go System Files" workflow, the default values will be automatically applied to the workflow YAML files in your repository.
12+
The default values must match the input types (boolean, number, string, or choice) defined in the workflow YAML files.
13+
14+
Example configuration:
15+
16+
```json
17+
{
18+
"workflowDefaultInputs": [
19+
{ "name": "directCommit", "value": true },
20+
{ "name": "useGhTokenWorkflow", "value": true }
21+
]
22+
}
23+
```
24+
25+
This setting can be used on its own in repository settings to apply defaults to all workflows with matching input names. Alternatively, you can use it within [conditional settings](https://aka.ms/algosettings#conditional-settings) to apply defaults only to specific workflows, branches, or other conditions.
26+
27+
Example using conditional settings to target specific workflows:
28+
29+
```json
30+
{
31+
"conditionalSettings": [
32+
{
33+
"workflows": ["Create Release"],
34+
"settings": {
35+
"workflowDefaultInputs": [
36+
{ "name": "directCommit", "value": true },
37+
{ "name": "releaseType", "value": "Prerelease" }
38+
]
39+
}
40+
}
41+
]
42+
}
43+
```
44+
45+
**Important:** When multiple conditional settings blocks match and both define `workflowDefaultInputs`, the arrays are merged following AL-Go's standard behavior for complex setting types (all entries are kept). If the same input name appears in multiple entries, the last matching entry takes precedence.
46+
47+
Read more at [workflowDefaultInputs](https://aka.ms/algosettings#workflowDefaultInputs).
448

549
### Issues
650

51+
- Issue 2039 Error when deploy to environment: NewTemporaryFolder is not recognized
752
- Issue 1961 KeyVault access in PR pipeline
853
- Discussion 1911 Add support for reportSuppressedDiagnostics
954
- Discussion 1968 Parameter for settings passed to CreateDevEnv
1055
- Issue 1945 Deploy Reference Documentation fails for CI/CD
1156
- Use Runner_Temp instead of GetTempFolder whenever possible
1257
- Issue 2016 Running Update AL-Go system files with branches wildcard `*` tries to update _origin_
58+
- Issue 1960 Deploy Reference Documentation fails
59+
- Discussion 1952 Set default values on workflow_dispatch input
60+
61+
### Deprecations
62+
63+
- `unusedALGoSystemFiles` will be removed after October 1st 2026. Please use [`customALGoFiles.filesToExclude`](https://aka.ms/algosettings#customALGoFiles) instead.
1364

1465
## v8.0
1566

0 commit comments

Comments
 (0)