Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/AL-Go-Settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/19a90088a40cf806eaeb0878ee9aa2438b400475/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json",
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
"bcContainerHelperVersion": "preview",
Expand Down Expand Up @@ -130,7 +130,7 @@
]
},
"UpdateALGoSystemFilesEnvironment": "Official-Build",
"templateSha": "0d622515cf72368e2bce2da90da86b07f11937c6",
"templateSha": "550f78b41cb5ffb4572b727ecef30e0951d4ce38",
"commitOptions": {
"messageSuffix": "Related to AB#539394",
"pullRequestAutoMerge": true,
Expand Down
16 changes: 16 additions & 0 deletions .github/RELEASENOTES.copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,23 @@ Note that when using the preview version of AL-Go for GitHub, we recommend you U

### Issues

- Issue 2095 DeliverToAppSource.ProductId needs to be specified (Library app)
- Issue 2082 Sign action no longer fails when repository is empty or no artifacts are generated
- Issue 2078 Workflows run since January 14th '26 have space before CI/CD removed
- Issue 2070 Support public GitHub Packages feeds without requiring a Personal Access Token (PAT)
- Issue 2004 PublishToAppSource workflow publishes multi-app repos in alphabetical order instead of dependency order
- Issue 2045 DateTime parsing fails on non-US locale runners in WorkflowPostProcess.ps1
- Issue 2055 When using versioningStrategy 3+16, you get an error when building
- Issue 2094 PR into release branch gets wrong previous release
- AL-Go repositories with large amounts of projects may run into issues with too large environment variables
- Discussion 1855 Add trigger 'workflow_call' to workflow 'Update AL-Go System Files' for reusability
- Issue 2050 Publish To Environment creates mistyped environment

### Publish To Environment no longer creates unknown environments by default

Previously, when running the "Publish To Environment" workflow with an environment name that doesn't exist in GitHub or AL-Go settings, the workflow would automatically create a new GitHub environment. This could lead to problems when environment names were mistyped, as the bogus environment would then cause subsequent CI/CD workflows to fail.

Now, the workflow will fail with a clear error message if the specified environment doesn't exist. If you intentionally want to deploy to a new environment that hasn't been configured yet, you can check the **Create environment if it does not exist** checkbox when running the workflow.

### Set default values for workflow inputs

Expand All @@ -20,6 +29,13 @@ This ensures consistent default values across both manual workflow runs and reus

Read more at [workflowDefaultInputs](https://aka.ms/algosettings#workflowDefaultInputs).

### Merge queue support

AL-Go now supports GitHub's merge queue feature out of the box! The `merge_group` trigger has been added to the Pull Request Build workflow, enabling seamless integration with merge queues. When you have the merge queue feature enabled in your repo, multiple PRs will automatically be validated together. Read more about merge queues [here](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).

> [!WARNING]
> If you rely on a custom workflow for merge queue validation, you may need to adjust your setup to avoid duplicate builds.

### 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](https://github.com/microsoft/AL-Go/blob/main/Scenarios/EnablingTelemetry.md) on enabling telemetry.
Expand Down
64 changes: 32 additions & 32 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,24 @@ jobs:
trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: true

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go/Actions/ReadSettings@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGitHub
Expand All @@ -82,15 +82,15 @@ jobs:
- name: Read submodules token
id: ReadSubmodulesToken
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
uses: microsoft/AL-Go/Actions/ReadSecrets@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '-gitSubmodulesToken'

- name: Checkout Submodules
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: true
submodules: ${{ env.useGitSubmodules }}
Expand All @@ -103,7 +103,7 @@ jobs:

- name: Determine Projects To Build
id: determineProjectsToBuild
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
maxBuildDepth: ${{ env.workflowDepth }}
Expand All @@ -116,23 +116,23 @@ jobs:

- name: Determine Delivery Target Secrets
id: DetermineDeliveryTargetSecrets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
checkContextSecrets: 'false'

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}

- name: Determine Delivery Targets
id: DetermineDeliveryTargets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -142,7 +142,7 @@ jobs:

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -155,24 +155,24 @@ jobs:
runs-on: [ windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
get: templateUrl

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: 'ghTokenWorkflow'

- name: Check for updates to AL-Go system files
uses: microsoft/AL-Go/Actions/CheckForUpdates@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/CheckForUpdates@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
name: Code Analysis Processing
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Download artifacts - ErrorLogs
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
Expand All @@ -251,7 +251,7 @@ jobs:
- name: Process AL Code Analysis Logs
id: ProcessALCodeAnalysisLogs
if: (success() || failure())
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

Expand All @@ -277,21 +277,21 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Download artifacts
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

- name: Determine ArtifactUrl
id: determineArtifactUrl
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

Expand All @@ -300,7 +300,7 @@ jobs:
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
artifacts: '.artifacts'
Expand Down Expand Up @@ -333,15 +333,15 @@ jobs:
ALGoEnvName: ${{ matrix.environment }}
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Download artifacts
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: ${{ matrix.shell }}
get: type,powerPlatformSolutionFolder
Expand All @@ -355,15 +355,15 @@ jobs:

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: ${{ matrix.shell }}
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'

- name: Deploy to Business Central
id: Deploy
uses: microsoft/AL-Go/Actions/Deploy@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/Deploy@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -375,7 +375,7 @@ jobs:

- name: Deploy to Power Platform
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -395,28 +395,28 @@ jobs:
name: Deliver to ${{ matrix.deliveryTarget }}
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Download artifacts
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ matrix.deliveryTarget }}Context'

- name: Deliver
uses: microsoft/AL-Go/Actions/Deliver@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/Deliver@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -432,11 +432,11 @@ jobs:
runs-on: [ windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/DeployReferenceDocumentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,28 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

- name: Determine ArtifactUrl
id: determineArtifactUrl
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -60,7 +60,7 @@ jobs:
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
with:
shell: powershell
artifacts: 'latest'
Expand All @@ -78,7 +78,7 @@ jobs:

- name: Finalize the workflow
if: always()
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@19a90088a40cf806eaeb0878ee9aa2438b400475
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
Loading
Loading