Skip to content
Open
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
9 changes: 9 additions & 0 deletions .github/.agents/algo-settings.agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AL-Go Copilot instructions

AL-Go for GitHub controls its features using various different settings.

When asked about settings for AL-Go, you can find the available settings and description of them at this location: https://github.com/microsoft/AL-Go/blob/main/Scenarios/settings.md, which you should read to understand what settings to suggest.

For additional inforomation about AL-Go, you should read the 'RELEASENOTES.copy.md' file.

When applying new settings, you should apply them to the file "AL-Go-Settings.json"
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/18fe3d5d4fb9940564d80d87201f56992b6ebdff/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/6f564fa18b52c98eebc26fb118f1402c0d781dd1/Actions/.Modules/settings.schema.json",
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
"bcContainerHelperVersion": "preview",
Expand Down Expand Up @@ -94,7 +94,7 @@
]
},
"UpdateALGoSystemFilesEnvironment": "Official-Build",
"templateSha": "45c60a52f3dee1069c9f6ce83f2cb2c0cd530c1e",
"templateSha": "0f8775502e86ff43c8a82bc05854b443794c8fe2",
"commitOptions": {
"messageSuffix": "Related to AB#539394",
"pullRequestAutoMerge": true,
Expand Down
13 changes: 12 additions & 1 deletion .github/RELEASENOTES.copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,20 @@ Note that when using the preview version of AL-Go for GitHub, we recommend you U

### Issues

- 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
- 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

## AL-Go Telemetry updates
### Set default values for workflow inputs

The `workflowDefaultInputs` setting now also applies to `workflow_call` inputs when an input with the same name exists for `workflow_dispatch`.
This ensures consistent default values across both manual workflow runs and reusable workflow calls.

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

### 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
2 changes: 1 addition & 1 deletion .github/Test Next Major.settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/18fe3d5d4fb9940564d80d87201f56992b6ebdff/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/6f564fa18b52c98eebc26fb118f1402c0d781dd1/Actions/.Modules/settings.schema.json",
"artifact": "////nextmajor",
"cacheImageName": "",
"versioningStrategy": 15
Expand Down
2 changes: 1 addition & 1 deletion .github/Test Next Minor.settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/18fe3d5d4fb9940564d80d87201f56992b6ebdff/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/6f564fa18b52c98eebc26fb118f1402c0d781dd1/Actions/.Modules/settings.schema.json",
"artifact": "////nextminor",
"cacheImageName": "",
"versioningStrategy": 15
Expand Down
72 changes: 36 additions & 36 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,24 @@ jobs:
trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
lfs: true

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/WorkflowInitialize@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

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

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

- name: Determine Projects To Build
id: determineProjectsToBuild
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell
maxBuildDepth: ${{ env.workflowDepth }}
Expand All @@ -115,23 +115,23 @@ jobs:

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

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSecrets@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}

- name: Determine Delivery Targets
id: DetermineDeliveryTargets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@6f564fa18b52c98eebc26fb118f1402c0d781dd1
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -141,7 +141,7 @@ jobs:

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@6f564fa18b52c98eebc26fb118f1402c0d781dd1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -154,24 +154,24 @@ jobs:
runs-on: [ windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSettings@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell
get: templateUrl

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSecrets@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: 'ghTokenWorkflow'

- name: Check for updates to AL-Go system files
uses: microsoft/AL-Go/Actions/CheckForUpdates@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/CheckForUpdates@6f564fa18b52c98eebc26fb118f1402c0d781dd1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -237,10 +237,10 @@ jobs:
name: Code Analysis Processing
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Download artifacts - ErrorLogs
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
if: (success() || failure())
with:
pattern: '*-*ErrorLogs-*'
Expand All @@ -250,7 +250,7 @@ jobs:
- name: Process AL Code Analysis Logs
id: ProcessALCodeAnalysisLogs
if: (success() || failure())
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

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

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

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSettings@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

- name: Determine ArtifactUrl
id: determineArtifactUrl
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

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

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell
artifacts: '.artifacts'
Expand Down Expand Up @@ -332,15 +332,15 @@ jobs:
ALGoEnvName: ${{ matrix.environment }}
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

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

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSettings@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: ${{ matrix.shell }}
get: type,powerPlatformSolutionFolder
Expand All @@ -354,15 +354,15 @@ jobs:

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSecrets@6f564fa18b52c98eebc26fb118f1402c0d781dd1
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@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/Deploy@6f564fa18b52c98eebc26fb118f1402c0d781dd1
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -374,7 +374,7 @@ jobs:

- name: Deploy to Power Platform
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@6f564fa18b52c98eebc26fb118f1402c0d781dd1
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -394,28 +394,28 @@ jobs:
name: Deliver to ${{ matrix.deliveryTarget }}
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

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

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSettings@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSecrets@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ matrix.deliveryTarget }}Context'

- name: Deliver
uses: microsoft/AL-Go/Actions/Deliver@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/Deliver@6f564fa18b52c98eebc26fb118f1402c0d781dd1
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -431,11 +431,11 @@ jobs:
runs-on: [ windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@6f564fa18b52c98eebc26fb118f1402c0d781dd1
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/WorkflowInitialize@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/ReadSettings@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

- name: Determine ArtifactUrl
id: determineArtifactUrl
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@6f564fa18b52c98eebc26fb118f1402c0d781dd1
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@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@6f564fa18b52c98eebc26fb118f1402c0d781dd1
with:
shell: powershell
artifacts: 'latest'
Expand All @@ -78,7 +78,7 @@ jobs:

- name: Finalize the workflow
if: always()
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@18fe3d5d4fb9940564d80d87201f56992b6ebdff
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@6f564fa18b52c98eebc26fb118f1402c0d781dd1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
Loading
Loading