Skip to content

Commit 0490cd6

Browse files
nturinskiCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 8ad36af commit 0490cd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commands/executeFunction/eventGrid/EventGridTypeStep.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ import { type EventGridExecuteFunctionContext } from "./EventGridExecuteFunction
1111
// Using a specific commit SHA to fetch EventGrid sample files since they were removed from main branch
1212
// See: https://github.com/Azure/azure-rest-api-specs/issues/38235
1313
// See: https://github.com/Azure/azure-rest-api-specs/pull/38236
14+
// Pinned commit: https://github.com/Azure/azure-rest-api-specs/commit/752dade436619ed28bd03ca2e77cfa5acf6222dd
15+
const eventGridSamplesRef = '752dade436619ed28bd03ca2e77cfa5acf6222dd';
1416
const sampleFilesUrl =
1517
'https://api.github.com/repos/Azure/azure-rest-api-specs/contents/specification/eventgrid/data-plane/' +
1618
'{eventSource}' +
17-
'/stable/2018-01-01/examples/cloud-events-schema?ref=752dade436619ed28bd03ca2e77cfa5acf6222dd';
19+
`/stable/2018-01-01/examples/cloud-events-schema?ref=${eventGridSamplesRef}`;
1820

1921
type FileMetadata = {
2022
name: string;

0 commit comments

Comments
 (0)