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
13 changes: 7 additions & 6 deletions .github/AL-Go-Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"environments": [
"Staging"
],
"DeployToStaging": {
"environmentName": "Sandbox",
"companyId": "f1678e37-e50b-ef11-9f8e-6045bdc8c192",
"ppEnvironmentUrl": "https://orgf287aea1.crm.dynamics.com/"
}
}
"DeployToStaging": {
"environmentName": "Sandbox",
"companyId": "f1678e37-e50b-ef11-9f8e-6045bdc8c192",
"ppEnvironmentUrl": "https://orgf287aea1.crm.dynamics.com/"
},
"templateSha": "8fedaa0bba2cf96f8b2b0c57b7d4ba88e9c7069b"
}
22 changes: 12 additions & 10 deletions .github/workflows/AddExistingAppOrTestApp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
default: false

permissions:
actions: read
contents: write
id-token: write
pull-requests: write

defaults:
Expand All @@ -39,48 +41,48 @@ jobs:
runs-on: [ windows-latest ]
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1
with:
shell: powershell

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1
with:
shell: powershell
eventId: "DO0090"

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
with:
shell: powershell

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: 'TokenForPush'
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'

- name: Add existing app
uses: microsoft/AL-Go/Actions/AddExistingApp@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
uses: microsoft/AL-Go-Actions/AddExistingApp@v7.1
with:
shell: powershell
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
parentTelemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
project: ${{ github.event.inputs.project }}
url: ${{ github.event.inputs.url }}
directCommit: ${{ github.event.inputs.directCommit }}

- name: Finalize the workflow
if: always()
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@6a9ef0c91e5b54d0fd3abb3d4495417a1db28f17
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
shell: powershell
eventId: "DO0090"
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
currentJobContext: ${{ toJson(job) }}
Loading
Loading