Skip to content
Closed
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/20620d1a3676cecfa2d0bbba3ced4a89f0e08217/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/959519dfe53da49b83bd5cf1f43eaa0be7ca5301/Actions/.Modules/settings.schema.json",
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
"bcContainerHelperVersion": "preview",
Expand Down Expand Up @@ -91,7 +91,7 @@
]
},
"UpdateALGoSystemFilesEnvironment": "Official-Build",
"templateSha": "6d5fac686fbd9ef4564287f56818eb2391b84caa",
"templateSha": "506dd14008d2dcbd5d372d5d9cf0ad77004554f1",
"commitOptions": {
"messageSuffix": "Related to AB#539394",
"pullRequestAutoMerge": true,
Expand Down
12 changes: 12 additions & 0 deletions .github/RELEASENOTES.copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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.

### Copilot code review for AL pull requests

AL-Go repositories can now opt in to AI-powered review of AL pull requests, with configurable models, target branches, excluded authors, and BCQuality skills and knowledge. See [Enable Copilot code review](Scenarios/Agents/CopilotCodeReview.md) for setup, organization policy requirements, and operational details.

### Issues

- Issue 2398 - Preserve dependency paths containing commas when passing a single app to Run-AlPipeline. Download Project Dependencies now warns with the complete path if a resolved dependency file is missing, without changing the output lists.

- Issue 2390 - AnalyzeTests no longer crashes under strict mode when a page scripting test suite contains both passed and failed tests, preserving the failure summary.

- Issue 2387 - Deployment environment discovery now paginates GitHub API results, so Publish To Environment and CI/CD can discover environments beyond the first 30 and read their branch policies.

## v10.0

### AL-Go Telemetry Enhancements
Expand Down
58 changes: 29 additions & 29 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell

Expand All @@ -62,13 +62,13 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/WorkflowInitialize@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go/Actions/ReadSettings@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSettings@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell
get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGitHub
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Read submodules token
id: ReadSubmodulesToken
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
uses: microsoft/AL-Go/Actions/ReadSecrets@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSecrets@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -103,7 +103,7 @@ jobs:

- name: Determine Projects To Build
id: determineProjectsToBuild
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
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@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
checkContextSecrets: 'false'

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSecrets@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}

- name: Determine Delivery Targets
id: DetermineDeliveryTargets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
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@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -158,21 +158,21 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSettings@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell
get: templateUrl

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSecrets@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: 'ghTokenWorkflow'

- name: Check for updates to AL-Go system files
uses: microsoft/AL-Go/Actions/CheckForUpdates@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/CheckForUpdates@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Download artifacts - ErrorLogs
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
env:
ACTIONS_RUNNER_DISABLE_NODE_MAGLEV: 1
if: (success() || failure())
Expand All @@ -253,12 +253,12 @@ jobs:
- name: Process AL Code Analysis Logs
id: ProcessALCodeAnalysisLogs
if: (success() || failure())
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell

- name: Upload SARIF file to GitHub
uses: github/codeql-action/upload-sarif@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
if: (success() || failure()) && (hashFiles(format('{0}/ErrorLogs/output.sarif.json',github.workspace)) != '')
with:
sarif_file: '${{ github.workspace }}/ErrorLogs/output.sarif.json'
Expand All @@ -282,20 +282,20 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Download artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
env:
ACTIONS_RUNNER_DISABLE_NODE_MAGLEV: 1
with:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSettings@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell

- name: Determine ArtifactUrl
id: determineArtifactUrl
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell

Expand All @@ -304,7 +304,7 @@ jobs:
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell
artifacts: '.artifacts'
Expand Down Expand Up @@ -340,14 +340,14 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Download artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
env:
ACTIONS_RUNNER_DISABLE_NODE_MAGLEV: 1
with:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSettings@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: ${{ matrix.shell }}
get: type,powerPlatformSolutionFolder
Expand All @@ -361,15 +361,15 @@ jobs:

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSecrets@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
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@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/Deploy@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -381,7 +381,7 @@ jobs:

- name: Deploy to Power Platform
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -404,27 +404,27 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Download artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
env:
ACTIONS_RUNNER_DISABLE_NODE_MAGLEV: 1
with:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSettings@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/ReadSecrets@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ matrix.deliveryTarget }}Context'

- name: Deliver
uses: microsoft/AL-Go/Actions/Deliver@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/Deliver@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -444,7 +444,7 @@ jobs:

- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@20620d1a3676cecfa2d0bbba3ced4a89f0e08217
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@959519dfe53da49b83bd5cf1f43eaa0be7ca5301
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/CopilotPRReview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Copilot PR Review

on:
workflow_dispatch:

concurrency:
group: copilot-pr-review-${{ github.event.pull_request.number }}
cancel-in-progress: true

defaults:
run:
shell: pwsh

permissions:
contents: read

jobs:
Intake:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Upload pull request metadata
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: copilot-pr-review-metadata
path: ${{ github.event_path }}
retention-days: 1
Loading
Loading