[main@00851bc] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - ea3d5bb #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v8.1
Custom AL-Go files
AL-Go for GitHub now supports updating files from your custom templates via the new
customALGoFilessetting. Read more at customALGoFiles.Set default values for workflow inputs
A new setting
workflowDefaultInputsallows you to configure default values for workflow_dispatch inputs. This makes it easier to run workflows manually with consistent settings across your team.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.
The default values must match the input types (boolean, number, string, or choice) defined in the workflow YAML files.
Example configuration:
{ "workflowDefaultInputs": [ { "name": "directCommit", "value": true }, { "name": "useGhTokenWorkflow", "value": true } ] }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 to apply defaults only to specific workflows, branches, or other conditions.
Example using conditional settings to target specific workflows:
{ "conditionalSettings": [ { "workflows": ["Create Release"], "settings": { "workflowDefaultInputs": [ { "name": "directCommit", "value": true }, { "name": "releaseType", "value": "Prerelease" } ] } } ] }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.Read more at workflowDefaultInputs.
Issues
*tries to update originDeprecations
unusedALGoSystemFileswill be removed after October 1st 2026. Please usecustomALGoFiles.filesToExcludeinstead.v8.0
Mechanism to overwrite complex settings type
By default, AL-Go merges settings from various places (see settings levels). Basic setting types such as
stringandintegerare overwritten, but settings with complex types such asarrayandobjectare merged.However, sometimes it is useful to avoid merging complex types. This can be achieved by specifying
overwriteSettingsproperty on a settings object. The purpose of the property is to list settings, for which the value will be overwritten, instead of merged. Read more at overwriteSettings propertyAL Code Analysis tracked in GitHub
AL-Go already supports AL code analysis, but up until now this was not tracked in GitHub. It is now possible to track code analysis issues automatically in the GitHub security tab, as well as having any new issues posted as a comment in Pull Requests.
Enable this feature by using the new setting trackALAlertsInGithub. This setting must be enabled at the repo level, but can optionally be disabled per project.
Please note that some automated features are premium and require the use of GitHub Code Security
Issues
ReadSettingsaction outputs too much information that is mainly used for debugging