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
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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
"type": "AppSource App",
"templateUrl": "https://github.com/microsoft/AL-Go-AppSource@preview",
"runs-on": "ubuntu-latest",
Expand All @@ -25,6 +25,6 @@
"CertificateProfile": "BCCodeSigningPublic"
},
"trackALAlertsInGitHub": true,
"templateSha": "72a58221eda801ef92d4fd8dead7647bf62d9101",
"templateSha": "e5b105154dab6b338bec152060bf3daf9db06280",
"PullRequestTrigger": "pull_request"
}
21 changes: 19 additions & 2 deletions .github/RELEASENOTES.copy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
## preview
## v8.3

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

- Issue 2107 Publish a specific build mode to an environment
- Issue 1915 CICD fails on releases/26.x branch - '26.x' cannot be recognized as a semantic version string

### The default pull request trigger is changing

AL-Go for GitHub is transitioning from the pull_request_target trigger to the more secure pull_request trigger. This is a step we are taking to make AL-Go for GitHub more secure by default. If you are used to working from branches within the repository you may not notice any difference. If you get pull requests from forks, those pull requests will no longer be able to access secrets. If that is blocking for your repository, you will need to update your settings to use the pull_request_target trigger.

**How do I revert back to pull_request_target?**

Add the following setting to one of your settings files and run the Update AL-Go System Files workflow:

```json
"pullRequestTrigger": "pull_request_target"
```

## v8.2

### Issues

Expand Down
2 changes: 1 addition & 1 deletion .github/Test Current.settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
"artifact": "////latest",
"cacheImageName": "",
"versioningStrategy": 15,
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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
"artifact": "////nextmajor/{INSIDERSASTOKEN}",
"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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
"artifact": "////nextminor/{INSIDERSASTOKEN}",
"cacheImageName": "",
"versioningStrategy": 15,
Expand Down
48 changes: 24 additions & 24 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3
with:
shell: pwsh

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

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3
with:
shell: pwsh

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
with:
shell: pwsh
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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -103,7 +103,7 @@ jobs:

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

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

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

- name: Determine Delivery Targets
id: DetermineDeliveryTargets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.3
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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.3
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -158,21 +158,21 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
with:
shell: pwsh
get: templateUrl

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

- name: Check for updates to AL-Go system files
uses: microsoft/AL-Go/Actions/CheckForUpdates@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.3
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
- name: Process AL Code Analysis Logs
id: ProcessALCodeAnalysisLogs
if: (success() || failure())
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.3
with:
shell: pwsh

Expand Down Expand Up @@ -285,13 +285,13 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
with:
shell: pwsh

- name: Determine ArtifactUrl
id: determineArtifactUrl
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v8.3
with:
shell: pwsh

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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.3
with:
shell: pwsh
artifacts: '.artifacts'
Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/Deploy@v8.3
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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v8.3
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand Down Expand Up @@ -403,20 +403,20 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
with:
shell: pwsh

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

- name: Deliver
uses: microsoft/AL-Go/Actions/Deliver@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/Deliver@v8.3
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -436,7 +436,7 @@ jobs:

- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/CreateOnlineDevelopmentEnvironment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3
with:
shell: pwsh

Expand All @@ -59,19 +59,19 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3
with:
shell: pwsh

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
with:
shell: pwsh

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -90,7 +90,7 @@ jobs:
Write-Host "AdminCenterApiCredentials not provided, initiating Device Code flow"
$ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1"
$webClient = New-Object System.Net.WebClient
$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/AL-Go-Helper.ps1', $ALGoHelperPath)
$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1', $ALGoHelperPath)
. $ALGoHelperPath
DownloadAndImportBcContainerHelper
$authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0))
Expand All @@ -112,13 +112,13 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
with:
shell: pwsh

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -137,7 +137,7 @@ jobs:
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -value "adminCenterApiCredentials=$adminCenterApiCredentials"

- name: Create Development Environment
uses: microsoft/AL-Go/Actions/CreateDevelopmentEnvironment@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a
uses: microsoft/AL-Go-Actions/CreateDevelopmentEnvironment@v8.3
with:
shell: pwsh
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
Expand All @@ -149,7 +149,7 @@ jobs:

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