Skip to content

Commit 1e30e63

Browse files
EMaherCopilot
andauthored
fix: harden integration-test workflow (#167)
- Remove upload-artifact step that leaked subscription ID info - Upgrade actions to Node.js 24-compatible versions: actions/checkout@v4 -> @v6 actions/setup-node@v4 -> @v5 azure/login@v2 -> @V3 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ca15989 commit 1e30e63

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

.github/workflows/integration-test.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ jobs:
101101
environment: integration-test # Requires approval for cost protection
102102

103103
steps:
104-
- uses: actions/checkout@v4
104+
- uses: actions/checkout@v6
105105

106-
- uses: actions/setup-node@v4
106+
- uses: actions/setup-node@v5
107107
with:
108108
node-version: '22'
109109
cache: 'npm'
@@ -128,7 +128,7 @@ jobs:
128128
"skuName=$skuName" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
129129
130130
- name: Azure Login
131-
uses: azure/login@v2
131+
uses: azure/login@v3
132132
with:
133133
client-id: ${{ secrets.AZURE_CLIENT_ID }}
134134
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
@@ -154,7 +154,7 @@ jobs:
154154
155155
- name: Azure Login - Refresh Before Phase 2
156156
if: success()
157-
uses: azure/login@v2
157+
uses: azure/login@v3
158158
with:
159159
# Phase 1 can run for a long time while APIM activates; refresh login
160160
# before extract/publish so apiops receives a fresh federated session.
@@ -232,14 +232,6 @@ jobs:
232232
-TargetApimName '${{ steps.phase1.outputs.targetApimName }}' `
233233
-LogLevel '${{ steps.settings.outputs.logLevel }}'
234234
235-
- name: Upload Extracted Artifacts
236-
if: always()
237-
uses: actions/upload-artifact@v4
238-
with:
239-
name: extracted-artifacts-${{ steps.phase1.outputs.skuName }}
240-
path: ${{ steps.phase2.outputs.ExtractOutputDir || './extracted-artifacts/' }}
241-
if-no-files-found: ignore
242-
243235
- name: Run Round-Trip Phase 7 (Teardown)
244236
if: always()
245237
shell: pwsh

0 commit comments

Comments
 (0)