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
16 changes: 8 additions & 8 deletions .github/workflows/CleanupTempRepos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ jobs:
with:
egress-policy: audit

- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: app-token
if: ${{ vars.E2E_APP_ID != '' }}
with:
app-id: ${{ vars.E2E_APP_ID }}
private-key: ${{ secrets.E2E_PRIVATE_KEY }}
owner: ${{ github.event.inputs.githubOwner }}

- name: Check E2EPAT Secret is defined
if: ${{ vars.E2E_APP_ID == '' }}
run: |
Expand All @@ -55,6 +47,14 @@ jobs:
run: |
${{ github.workspace }}/Internal/Scripts/GetOwnerForE2ETests.ps1 -githubOwner $env:githubOwner

- uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
id: app-token
if: ${{ vars.E2E_APP_ID != '' }}
with:
app-id: ${{ vars.E2E_APP_ID }}
private-key: ${{ secrets.E2E_PRIVATE_KEY }}
owner: ${{ steps.getGitHubOwner.outputs.githubOwner }}

- name: Cleanup Temp Repositories
env:
githubOwner: ${{ steps.getGitHubOwner.outputs.githubOwner }}
Expand Down
4 changes: 1 addition & 3 deletions e2eTests/scenarios/PowerPlatform/runtest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,8 @@ foreach($sourceRepo in $repositories) {
Write-Host "PowerPlatform Solution Folder: $($settings.powerPlatformSolutionFolder)"

# Upgrade AL-Go System Files to test version
# TODO: Use e2epat until bcsamples powerplatform repositories have been updated to latest version
RunUpdateAlGoSystemFiles -directCommit -wait -templateUrl $template -ghTokenWorkflow $e2epat -repository $repository | Out-Null

SetRepositorySecret -repository $repository -name 'GHTOKENWORKFLOW' -value $algoauthapp
RunUpdateAlGoSystemFiles -directCommit -templateUrl $template -wait -repository $repository | Out-Null

CancelAllWorkflows -repository $repository

Expand Down
Loading