Skip to content

Commit bb347fd

Browse files
author
Freddy Kristiansen
authored
Merge pull request #7 from aholstrup1/main
Update AL-Go System Files
2 parents da8ca51 + f8b2df3 commit bb347fd

23 files changed

+695
-450
lines changed

.github/AL-Go-Settings.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"environments": [
66
"Staging"
77
],
8-
"DeployToStaging": {
9-
"environmentName": "Sandbox",
10-
"companyId": "f1678e37-e50b-ef11-9f8e-6045bdc8c192",
11-
"ppEnvironmentUrl": "https://orgf287aea1.crm.dynamics.com/"
12-
}
8+
"DeployToStaging": {
9+
"environmentName": "Sandbox",
10+
"companyId": "f1678e37-e50b-ef11-9f8e-6045bdc8c192",
11+
"ppEnvironmentUrl": "https://orgf287aea1.crm.dynamics.com/"
12+
},
13+
"templateSha": "8fedaa0bba2cf96f8b2b0c57b7d4ba88e9c7069b"
1314
}

.github/workflows/AddExistingAppOrTestApp.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ on:
2222
default: false
2323

2424
permissions:
25+
actions: read
2526
contents: write
27+
id-token: write
2628
pull-requests: write
2729

2830
defaults:
@@ -39,48 +41,48 @@ jobs:
3941
runs-on: [ windows-latest ]
4042
steps:
4143
- name: Dump Workflow Information
42-
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
44+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1
4345
with:
4446
shell: powershell
4547

4648
- name: Checkout
47-
uses: actions/checkout@v4
49+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4850

4951
- name: Initialize the workflow
5052
id: init
51-
uses: microsoft/AL-Go/Actions/WorkflowInitialize@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
53+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1
5254
with:
5355
shell: powershell
54-
eventId: "DO0090"
5556

5657
- name: Read settings
57-
uses: microsoft/AL-Go/Actions/ReadSettings@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
58+
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
5859
with:
5960
shell: powershell
6061

6162
- name: Read secrets
6263
id: ReadSecrets
63-
uses: microsoft/AL-Go/Actions/ReadSecrets@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
64+
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
6465
with:
6566
shell: powershell
6667
gitHubSecrets: ${{ toJson(secrets) }}
6768
getSecrets: 'TokenForPush'
6869
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
6970

7071
- name: Add existing app
71-
uses: microsoft/AL-Go/Actions/AddExistingApp@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
72+
uses: microsoft/AL-Go-Actions/AddExistingApp@v7.1
7273
with:
7374
shell: powershell
7475
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
75-
parentTelemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
7676
project: ${{ github.event.inputs.project }}
7777
url: ${{ github.event.inputs.url }}
7878
directCommit: ${{ github.event.inputs.directCommit }}
7979

8080
- name: Finalize the workflow
8181
if: always()
82-
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
82+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1
83+
env:
84+
GITHUB_TOKEN: ${{ github.token }}
8385
with:
8486
shell: powershell
85-
eventId: "DO0090"
8687
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
88+
currentJobContext: ${{ toJson(job) }}

0 commit comments

Comments
 (0)