Skip to content

Conversation

@business-central-bot
Copy link
Contributor

preview

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.

Issues

  • AL-Go repositories with large amounts of projects may run into issues with too large environment variables

AL-Go Telemetry updates

AL-Go telemetry now includes test results so you can more easily see how many AL tests, Page Scripting tests and BCPT tests ran in your workflows across all your repositories. Documentation for this can be found on this article on enabling telemetry.

v8.1

Custom AL-Go files

AL-Go for GitHub now supports updating files from your custom templates via the new customALGoFiles setting. Read more at customALGoFiles.

Set default values for workflow inputs

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.

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

  • Issue 2039 Error when deploy to environment: NewTemporaryFolder is not recognized
  • Issue 1961 KeyVault access in PR pipeline
  • Discussion 1911 Add support for reportSuppressedDiagnostics
  • Discussion 1968 Parameter for settings passed to CreateDevEnv
  • Issue 1945 Deploy Reference Documentation fails for CI/CD
  • Use Runner_Temp instead of GetTempFolder whenever possible
  • Issue 2016 Running Update AL-Go system files with branches wildcard * tries to update origin
  • Issue 1960 Deploy Reference Documentation fails
  • Discussion 1952 Set default values on workflow_dispatch input

Deprecations

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 string and integer are overwritten, but settings with complex types such as array and object are merged.

However, sometimes it is useful to avoid merging complex types. This can be achieved by specifying overwriteSettings property 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 property

AL 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

  • Discussion 1885 Conditional settings for CI/CD are not applied
  • Discussion 1899 Remove optional properties from "required" list in settings.schema.json
  • Issue 1905 AL-Go system files update fails (Get Workflow Multi-Run Branches action fails when there are tags with same value but different casing)
  • Issue 1926 Deployment fails when using build modes
  • Issue 1898 GetDependencies in localDevEnv does not fallback to github token
  • Issue 1947 Project settings are ignored when loading bccontainerhelper
  • Issue 1937 trackALAlertsInGitHub is failing in preview
  • DeployTo settings from environment-specific AL-Go settings are not applied when deploying
  • ReadSettings action outputs too much information that is mainly used for debugging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants