From 177c3c96900e6800e7e08fdd74444267ac3abda8 Mon Sep 17 00:00:00 2001 From: Monish B <31185862+bmonish@users.noreply.github.com> Date: Sat, 12 Oct 2024 16:51:14 +0000 Subject: [PATCH 1/5] Start of Work #1042 From 35c836c89b12c2c2c9db3f18b6064636901c832c Mon Sep 17 00:00:00 2001 From: Monish B <31185862+bmonish@users.noreply.github.com> Date: Sat, 12 Oct 2024 16:59:13 +0000 Subject: [PATCH 2/5] feat(#1042): Removed Deno Config and Script --- .github/cicd/.vscode/launch.json | 35 ----- .github/cicd/.vscode/settings.json | 4 - .../cicd/scripts/trigger-api-docs-release.ts | 98 -------------- deno.json | 27 ---- deno.lock | 122 ------------------ 5 files changed, 286 deletions(-) delete mode 100644 .github/cicd/.vscode/launch.json delete mode 100644 .github/cicd/.vscode/settings.json delete mode 100644 .github/cicd/scripts/trigger-api-docs-release.ts delete mode 100644 deno.json delete mode 100644 deno.lock diff --git a/.github/cicd/.vscode/launch.json b/.github/cicd/.vscode/launch.json deleted file mode 100644 index 3301e4281..000000000 --- a/.github/cicd/.vscode/launch.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Trigger API Docs Release (DEBUG)", - "request": "launch", - "type": "node", - "program": "${workspaceFolder}/scripts/trigger-api-docs-release.ts", - "cwd": "${workspaceFolder}", - "runtimeArgs": [ - "run", - "--inspect-wait", - "--allow-all" - ], - "args": [ - "VelaptorDocs", - "main", - "api-release.yml", - "[api-version,v1.0.0-preview.23]", - "${env:CICD_TOKEN}", - ], - "console": "integratedTerminal", - "attachSimplePort": 9229, - "windows": { - "runtimeExecutable": "${userHome}\\.deno\\bin\\deno.exe" - }, - "linux": { - "runtimeExecutable": "${userHome}/.deno/bin/deno" - } - } - ] -} diff --git a/.github/cicd/.vscode/settings.json b/.github/cicd/.vscode/settings.json deleted file mode 100644 index e1533c2bb..000000000 --- a/.github/cicd/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "deno.enable": true, - "deno.lint": true -} diff --git a/.github/cicd/scripts/trigger-api-docs-release.ts b/.github/cicd/scripts/trigger-api-docs-release.ts deleted file mode 100644 index 60061f284..000000000 --- a/.github/cicd/scripts/trigger-api-docs-release.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { WorkflowClient } from "clients/WorkflowClient.ts"; -import { Confirm } from "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/confirm.ts"; - -// Check that the required number of arguments were provided -if (Deno.args.length != 5) { - let errorMsg = `The required number of arguments is 5 but only '${Deno.args.length}' was provided`; - errorMsg += "\nThe required arguments are as follows:"; - errorMsg += "\n1. Repository Name: The name of the repository where the workflow is located."; - errorMsg += "\n2. Branch Name: The name of the branch where the workflow is located."; - errorMsg += "\n3. Workflow Name: The name of the workflow to execute."; - errorMsg += "\n4. Workflow Inputs: The comma-delimited list of inputs to pass to the workflow."; - errorMsg += "\n\tNOTE: Syntax is a comma-delimited list of key value pairs wrapped in square brackets."; - errorMsg += "\n\tExample: '[item1,value1]|[item2, value1]'"; - errorMsg += "\n5. GitHub PAT: The GitHub Personal Access Token to use for authentication."; - Deno.exit(1); -} - -const doNotExecuteRelease = !(await Confirm.prompt({ - message: "Are you sure you want to trigger an API docs release?", - validate: (value) => { - return value.length === 1 && value[0].toUpperCase() === "Y" || value[0].toUpperCase() === "N"; - }, -})); - -if (doNotExecuteRelease) { - console.log("API docs release cancelled."); - Deno.exit(); -} - -console.log("Executing API docs release..."); - -const args = Deno.args.map((arg) => arg.trim()); -const repoName = args[0].trim(); -const branchName = args[1].trim(); -const workflowFileName = args[2].trim(); -const rawWorkflowInputList = args[3].trim(); -const token = args[4].trim(); - -// First get a list of the workflow tuples(key value pairs) -const tuples: string[] = rawWorkflowInputList.indexOf("|") != -1 - ? rawWorkflowInputList.split("|").map((input) => input.trim().replace("[", "").replace("]", "")) - : [rawWorkflowInputList.trim().replace("[", "").replace("]", "")]; - -const workflowInputs: [string, string][] = []; - -for (const tuple of tuples) { - const [key, value] = tuple.split(",").map((input) => input.trim()); - workflowInputs.push([key, value]); -} - -const containsPAT = (value: string): boolean => { - const fineGrainedTokenPrefix = "github_pat_"; - const classicTokenPrefix = "ghp_"; - - return value.startsWith(fineGrainedTokenPrefix) || value.startsWith(classicTokenPrefix); -} - -const printGitHubError = (errorMsg: string): void => { - console.log(`::error::${errorMsg}`); -}; - -const toOrdinal = (number: number): string => { - const suffixes = ["th", "st", "nd", "rd"]; - const value = Math.abs(number) % 100; - const suffix = suffixes[(value - 20) % 10] || suffixes[value] || suffixes[0]; - - return `${number}${suffix}`; -}; - -const argNames = ["Repository Name", "Branch Name", "Workflow Name", "Workflow Inputs", "GitHub PAT"]; - -// Print out all of the arguments as long as they don't contain a PAT -for (let i = 0; i < args.length; i++) { - const arg = args[i]; - - if (i === args.length - 1) { - console.log(`${argNames[i]}: ***`); - - if (!containsPAT(token)) { - const errorMsg = `The ${toOrdinal(i + 1)} argument (GitHub PAT) is not a valid GitHub personal access token.`; - printGitHubError(errorMsg); - Deno.exit(1); - } - } else { - const isInvalid = containsPAT(arg); - console.log(`${argNames[i]}: ${isInvalid ? "***" : args[i]}`); - - if (isInvalid) { - const errorMsg = `A GitHub PAT was found in the ${toOrdinal(i + 1)} argument. This is not allowed.`; - printGitHubError(errorMsg); - - Deno.exit(1); - } - } -} - -const client = new WorkflowClient(token); -await client.executeWorkflow(repoName, branchName, workflowFileName, workflowInputs); diff --git a/deno.json b/deno.json deleted file mode 100644 index 756420e66..000000000 --- a/deno.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "imports": { - "clients/": "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/clients/" - }, - "lint": { - "include": [ - "scripts/.*\\.ts$" - ], - "exclude": [ - "**/playground.ts" - ] - }, - "fmt": { - "include": [ - "**/**/scripts/" - ], - "exclude": [ - "**/*.md", - "**/*.json" - ], - "useTabs": true, - "lineWidth": 130, - "indentWidth": 4, - "semiColons": true, - "singleQuote": false - } -} diff --git a/deno.lock b/deno.lock deleted file mode 100644 index f2a716baa..000000000 --- a/deno.lock +++ /dev/null @@ -1,122 +0,0 @@ -{ - "version": "3", - "remote": { - "https://deno.land/std@0.221.0/assert/assert.ts": "bec068b2fccdd434c138a555b19a2c2393b71dfaada02b7d568a01541e67cdc5", - "https://deno.land/std@0.221.0/assert/assertion_error.ts": "9f689a101ee586c4ce92f52fa7ddd362e86434ffdf1f848e45987dc7689976b8", - "https://deno.land/std@0.221.0/encoding/_util.ts": "beacef316c1255da9bc8e95afb1fa56ed69baef919c88dc06ae6cb7a6103d376", - "https://deno.land/std@0.221.0/encoding/base64.ts": "8ccae67a1227b875340a8582ff707f37b131df435b07080d3bb58e07f5f97807", - "https://deno.land/std@0.221.0/fmt/colors.ts": "d239d84620b921ea520125d778947881f62c50e78deef2657073840b8af9559a", - "https://deno.land/std@0.221.0/path/_common/assert_path.ts": "dbdd757a465b690b2cc72fc5fb7698c51507dec6bfafce4ca500c46b76ff7bd8", - "https://deno.land/std@0.221.0/path/_common/basename.ts": "569744855bc8445f3a56087fd2aed56bdad39da971a8d92b138c9913aecc5fa2", - "https://deno.land/std@0.221.0/path/_common/common.ts": "ef73c2860694775fe8ffcbcdd387f9f97c7a656febf0daa8c73b56f4d8a7bd4c", - "https://deno.land/std@0.221.0/path/_common/constants.ts": "dc5f8057159f4b48cd304eb3027e42f1148cf4df1fb4240774d3492b5d12ac0c", - "https://deno.land/std@0.221.0/path/_common/dirname.ts": "684df4aa71a04bbcc346c692c8485594fc8a90b9408dfbc26ff32cf3e0c98cc8", - "https://deno.land/std@0.221.0/path/_common/format.ts": "92500e91ea5de21c97f5fe91e178bae62af524b72d5fcd246d6d60ae4bcada8b", - "https://deno.land/std@0.221.0/path/_common/from_file_url.ts": "d672bdeebc11bf80e99bf266f886c70963107bdd31134c4e249eef51133ceccf", - "https://deno.land/std@0.221.0/path/_common/glob_to_reg_exp.ts": "6cac16d5c2dc23af7d66348a7ce430e5de4e70b0eede074bdbcf4903f4374d8d", - "https://deno.land/std@0.221.0/path/_common/normalize.ts": "684df4aa71a04bbcc346c692c8485594fc8a90b9408dfbc26ff32cf3e0c98cc8", - "https://deno.land/std@0.221.0/path/_common/normalize_string.ts": "33edef773c2a8e242761f731adeb2bd6d683e9c69e4e3d0092985bede74f4ac3", - "https://deno.land/std@0.221.0/path/_common/relative.ts": "faa2753d9b32320ed4ada0733261e3357c186e5705678d9dd08b97527deae607", - "https://deno.land/std@0.221.0/path/_common/strip_trailing_separators.ts": "7024a93447efcdcfeaa9339a98fa63ef9d53de363f1fbe9858970f1bba02655a", - "https://deno.land/std@0.221.0/path/_common/to_file_url.ts": "7f76adbc83ece1bba173e6e98a27c647712cab773d3f8cbe0398b74afc817883", - "https://deno.land/std@0.221.0/path/_interface.ts": "8dfeb930ca4a772c458a8c7bbe1e33216fe91c253411338ad80c5b6fa93ddba0", - "https://deno.land/std@0.221.0/path/_os.ts": "8fb9b90fb6b753bd8c77cfd8a33c2ff6c5f5bc185f50de8ca4ac6a05710b2c15", - "https://deno.land/std@0.221.0/path/basename.ts": "7ee495c2d1ee516ffff48fb9a93267ba928b5a3486b550be73071bc14f8cc63e", - "https://deno.land/std@0.221.0/path/common.ts": "03e52e22882402c986fe97ca3b5bb4263c2aa811c515ce84584b23bac4cc2643", - "https://deno.land/std@0.221.0/path/constants.ts": "0c206169ca104938ede9da48ac952de288f23343304a1c3cb6ec7625e7325f36", - "https://deno.land/std@0.221.0/path/dirname.ts": "85bd955bf31d62c9aafdd7ff561c4b5fb587d11a9a5a45e2b01aedffa4238a7c", - "https://deno.land/std@0.221.0/path/extname.ts": "593303db8ae8c865cbd9ceec6e55d4b9ac5410c1e276bfd3131916591b954441", - "https://deno.land/std@0.221.0/path/format.ts": "6ce1779b0980296cf2bc20d66436b12792102b831fd281ab9eb08fa8a3e6f6ac", - "https://deno.land/std@0.221.0/path/from_file_url.ts": "911833ae4fd10a1c84f6271f36151ab785955849117dc48c6e43b929504ee069", - "https://deno.land/std@0.221.0/path/glob_to_regexp.ts": "7f30f0a21439cadfdae1be1bf370880b415e676097fda584a63ce319053b5972", - "https://deno.land/std@0.221.0/path/is_absolute.ts": "4791afc8bfd0c87f0526eaa616b0d16e7b3ab6a65b62942e50eac68de4ef67d7", - "https://deno.land/std@0.221.0/path/is_glob.ts": "a65f6195d3058c3050ab905705891b412ff942a292bcbaa1a807a74439a14141", - "https://deno.land/std@0.221.0/path/join.ts": "ae2ec5ca44c7e84a235fd532e4a0116bfb1f2368b394db1c4fb75e3c0f26a33a", - "https://deno.land/std@0.221.0/path/join_globs.ts": "5b3bf248b93247194f94fa6947b612ab9d3abd571ca8386cf7789038545e54a0", - "https://deno.land/std@0.221.0/path/mod.ts": "2821a1bb3a4148a0ffe79c92aa41aa9319fef73c6d6f5178f52b2c720d3eb02d", - "https://deno.land/std@0.221.0/path/normalize.ts": "4155743ccceeed319b350c1e62e931600272fad8ad00c417b91df093867a8352", - "https://deno.land/std@0.221.0/path/normalize_glob.ts": "cc89a77a7d3b1d01053b9dcd59462b75482b11e9068ae6c754b5cf5d794b374f", - "https://deno.land/std@0.221.0/path/parse.ts": "3e172974e3c71025f5fbd2bd9db4307acb9cc2de14cf6f4464bf40957663cabe", - "https://deno.land/std@0.221.0/path/posix/_util.ts": "1e3937da30f080bfc99fe45d7ed23c47dd8585c5e473b2d771380d3a6937cf9d", - "https://deno.land/std@0.221.0/path/posix/basename.ts": "d2fa5fbbb1c5a3ab8b9326458a8d4ceac77580961b3739cd5bfd1d3541a3e5f0", - "https://deno.land/std@0.221.0/path/posix/common.ts": "26f60ccc8b2cac3e1613000c23ac5a7d392715d479e5be413473a37903a2b5d4", - "https://deno.land/std@0.221.0/path/posix/constants.ts": "93481efb98cdffa4c719c22a0182b994e5a6aed3047e1962f6c2c75b7592bef1", - "https://deno.land/std@0.221.0/path/posix/dirname.ts": "76cd348ffe92345711409f88d4d8561d8645353ac215c8e9c80140069bf42f00", - "https://deno.land/std@0.221.0/path/posix/extname.ts": "e398c1d9d1908d3756a7ed94199fcd169e79466dd88feffd2f47ce0abf9d61d2", - "https://deno.land/std@0.221.0/path/posix/format.ts": "185e9ee2091a42dd39e2a3b8e4925370ee8407572cee1ae52838aed96310c5c1", - "https://deno.land/std@0.221.0/path/posix/from_file_url.ts": "951aee3a2c46fd0ed488899d024c6352b59154c70552e90885ed0c2ab699bc40", - "https://deno.land/std@0.221.0/path/posix/glob_to_regexp.ts": "76f012fcdb22c04b633f536c0b9644d100861bea36e9da56a94b9c589a742e8f", - "https://deno.land/std@0.221.0/path/posix/is_absolute.ts": "cebe561ad0ae294f0ce0365a1879dcfca8abd872821519b4fcc8d8967f888ede", - "https://deno.land/std@0.221.0/path/posix/is_glob.ts": "8a8b08c08bf731acf2c1232218f1f45a11131bc01de81e5f803450a5914434b9", - "https://deno.land/std@0.221.0/path/posix/join.ts": "7fc2cb3716aa1b863e990baf30b101d768db479e70b7313b4866a088db016f63", - "https://deno.land/std@0.221.0/path/posix/join_globs.ts": "a9475b44645feddceb484ee0498e456f4add112e181cb94042cdc6d47d1cdd25", - "https://deno.land/std@0.221.0/path/posix/mod.ts": "2301fc1c54a28b349e20656f68a85f75befa0ee9b6cd75bfac3da5aca9c3f604", - "https://deno.land/std@0.221.0/path/posix/normalize.ts": "baeb49816a8299f90a0237d214cef46f00ba3e95c0d2ceb74205a6a584b58a91", - "https://deno.land/std@0.221.0/path/posix/normalize_glob.ts": "9c87a829b6c0f445d03b3ecadc14492e2864c3ebb966f4cea41e98326e4435c6", - "https://deno.land/std@0.221.0/path/posix/parse.ts": "0b1fc4cb890dbb699ec1d2c232d274843b4a7142e1ad976b69fe51c954eb6080", - "https://deno.land/std@0.221.0/path/posix/relative.ts": "3907d6eda41f0ff723d336125a1ad4349112cd4d48f693859980314d5b9da31c", - "https://deno.land/std@0.221.0/path/posix/resolve.ts": "08b699cfeee10cb6857ccab38fa4b2ec703b0ea33e8e69964f29d02a2d5257cf", - "https://deno.land/std@0.221.0/path/posix/to_file_url.ts": "7aa752ba66a35049e0e4a4be5a0a31ac6b645257d2e031142abb1854de250aaf", - "https://deno.land/std@0.221.0/path/posix/to_namespaced_path.ts": "28b216b3c76f892a4dca9734ff1cc0045d135532bfd9c435ae4858bfa5a2ebf0", - "https://deno.land/std@0.221.0/path/relative.ts": "ab739d727180ed8727e34ed71d976912461d98e2b76de3d3de834c1066667add", - "https://deno.land/std@0.221.0/path/resolve.ts": "a6f977bdb4272e79d8d0ed4333e3d71367cc3926acf15ac271f1d059c8494d8d", - "https://deno.land/std@0.221.0/path/to_file_url.ts": "88f049b769bce411e2d2db5bd9e6fd9a185a5fbd6b9f5ad8f52bef517c4ece1b", - "https://deno.land/std@0.221.0/path/to_namespaced_path.ts": "b706a4103b104cfadc09600a5f838c2ba94dbcdb642344557122dda444526e40", - "https://deno.land/std@0.221.0/path/windows/_util.ts": "d5f47363e5293fced22c984550d5e70e98e266cc3f31769e1710511803d04808", - "https://deno.land/std@0.221.0/path/windows/basename.ts": "6bbc57bac9df2cec43288c8c5334919418d784243a00bc10de67d392ab36d660", - "https://deno.land/std@0.221.0/path/windows/common.ts": "26f60ccc8b2cac3e1613000c23ac5a7d392715d479e5be413473a37903a2b5d4", - "https://deno.land/std@0.221.0/path/windows/constants.ts": "5afaac0a1f67b68b0a380a4ef391bf59feb55856aa8c60dfc01bd3b6abb813f5", - "https://deno.land/std@0.221.0/path/windows/dirname.ts": "33e421be5a5558a1346a48e74c330b8e560be7424ed7684ea03c12c21b627bc9", - "https://deno.land/std@0.221.0/path/windows/extname.ts": "165a61b00d781257fda1e9606a48c78b06815385e7d703232548dbfc95346bef", - "https://deno.land/std@0.221.0/path/windows/format.ts": "bbb5ecf379305b472b1082cd2fdc010e44a0020030414974d6029be9ad52aeb6", - "https://deno.land/std@0.221.0/path/windows/from_file_url.ts": "ced2d587b6dff18f963f269d745c4a599cf82b0c4007356bd957cb4cb52efc01", - "https://deno.land/std@0.221.0/path/windows/glob_to_regexp.ts": "e45f1f89bf3fc36f94ab7b3b9d0026729829fabc486c77f414caebef3b7304f8", - "https://deno.land/std@0.221.0/path/windows/is_absolute.ts": "4a8f6853f8598cf91a835f41abed42112cebab09478b072e4beb00ec81f8ca8a", - "https://deno.land/std@0.221.0/path/windows/is_glob.ts": "8a8b08c08bf731acf2c1232218f1f45a11131bc01de81e5f803450a5914434b9", - "https://deno.land/std@0.221.0/path/windows/join.ts": "8d03530ab89195185103b7da9dfc6327af13eabdcd44c7c63e42e27808f50ecf", - "https://deno.land/std@0.221.0/path/windows/join_globs.ts": "a9475b44645feddceb484ee0498e456f4add112e181cb94042cdc6d47d1cdd25", - "https://deno.land/std@0.221.0/path/windows/mod.ts": "2301fc1c54a28b349e20656f68a85f75befa0ee9b6cd75bfac3da5aca9c3f604", - "https://deno.land/std@0.221.0/path/windows/normalize.ts": "78126170ab917f0ca355a9af9e65ad6bfa5be14d574c5fb09bb1920f52577780", - "https://deno.land/std@0.221.0/path/windows/normalize_glob.ts": "9c87a829b6c0f445d03b3ecadc14492e2864c3ebb966f4cea41e98326e4435c6", - "https://deno.land/std@0.221.0/path/windows/parse.ts": "dbdfe2bc6db482d755b5f63f7207cd019240fcac02ad2efa582adf67ff10553a", - "https://deno.land/std@0.221.0/path/windows/relative.ts": "3e1abc7977ee6cc0db2730d1f9cb38be87b0ce4806759d271a70e4997fc638d7", - "https://deno.land/std@0.221.0/path/windows/resolve.ts": "8dae1dadfed9d46ff46cc337c9525c0c7d959fb400a6308f34595c45bdca1972", - "https://deno.land/std@0.221.0/path/windows/to_file_url.ts": "40e560ee4854fe5a3d4d12976cef2f4e8914125c81b11f1108e127934ced502e", - "https://deno.land/std@0.221.0/path/windows/to_namespaced_path.ts": "4ffa4fb6fae321448d5fe810b3ca741d84df4d7897e61ee29be961a6aac89a4c", - "https://deno.land/std@0.221.0/text/levenshtein_distance.ts": "24be5cc88326bbba83ca7c1ea89259af0050cffda2817ff3a6d240ad6495eae2", - "https://deno.land/x/cliffy@v1.0.0-rc.4/ansi/ansi_escapes.ts": "193b3c3a4e520274bd8322ca4cab1c3ce38070bed1898cb2ade12a585dddd7c9", - "https://deno.land/x/cliffy@v1.0.0-rc.4/ansi/cursor_position.ts": "7a07410b312885db92ada9ecab095db0ff72ffe339b4e2d31e8c705f2c60c7fa", - "https://deno.land/x/cliffy@v1.0.0-rc.4/ansi/deps.ts": "4d93b041735f4967fa56c7aeb6be490c07522fb81c419f5fe3bef6b72190db8c", - "https://deno.land/x/cliffy@v1.0.0-rc.4/ansi/tty.ts": "a42ec713ff18186492c4b5184039d4f54174065773fa5833330b543c53bb4d79", - "https://deno.land/x/cliffy@v1.0.0-rc.4/keycode/_key_codes.ts": "917f0a2da0dbace08cf29bcfdaaa2257da9fe7e705fff8867d86ed69dfb08cfe", - "https://deno.land/x/cliffy@v1.0.0-rc.4/keycode/key_code.ts": "730fa675ca12fc2a99ba718aa8dbebb1f2c89afd47484e30ef3cb705ddfca367", - "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/_figures.ts": "e22413ddd51bb271b6b861a058742e83aaa3f62c14e8162cb73ae6f047062f51", - "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/_generic_input.ts": "f1cb8eff5868d1c1adb3a643c451ba3227b546c56caaa21a617a56311e228cca", - "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/_generic_prompt.ts": "5eef7354f0490f083c5df8ce3cffdfbe1216f7ccff2e3afaa48e0ee8ddaacd25", - "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/_generic_suggestions.ts": "1b39442384c0c14989e484e551f46457f45ec320c509fee4f47d2e173751df23", - "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/confirm.ts": "ff892331f6de281079421fe2f57f1d56acb38f28bc48678f87a3fc11ef4a5f7c", - "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/deps.ts": "d8e30bf0433d03144ab664b68db85679838e6561e8f098f3e2383b0f79a71418", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/clients/GithubResponse.ts": "6a5ede27ce6b35dc679b4df7436d82a409acd8a09766e3a50d96f29420d0c05b", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/clients/WorkflowClient.ts": "dcc0a94a2191c12cb0e33b09d8e91e156692560044ee96b43d284bea8d1c626e", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Enums.ts": "df445643e675f63ef0ff6562c2da3cd618b2a8aba0068b9ca473220f8cd17fe0", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/GitHubClient.ts": "ca93be71bc88c0626e23508202bec2178191d94a92430a2c9af2bc308ae7fc0a", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Guard.ts": "bd7615864af78bc4a32e9db6501ef5e08bac70f01642fc67e2125fdc4c6d3ea6", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/ILinkHeader.ts": "41133dae4c07d3cb168212a34287bf50dbff676ddcfe238ad728c286b0586f4b", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/IPageInfo.ts": "a8805cf769076f597f4de37890c02d77fcfd58dedfd0a36464cfb3d5b8afd166", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/LinkHeaderParser.ts": "de6c1aec0041f0d091c7e4bc4963b96fa19c1831f054fda4a5376ab01a90197b", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/IssueModel.ts": "b10b64d949f883bafa463cd0d33debb4f0acee2e1e72d83f0bd96468ad5be2be", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/LabelModel.ts": "b94203083496bc8009341298331970ae057a2012c1f2c448e17bd7fed870fbbe", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/MilestoneModel.ts": "2c5ad910471d617a5b9301db6caa31444d101c6a248d86df1adc0384f3f22c53", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/ProjectModel.ts": "27893f1cc63d4994234e82e8d6e63f6f55191f912f2d1d4108971c05f4895ce1", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/PullRequestHeadOrBaseModel.ts": "c2e38e8a799c4bd8c4bd3288635e9671ba51e19539bbc138590534de0dad16a2", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/PullRequestInfo.ts": "0fc783c701bc62bd0c79de325ea16bcbe446efa022eb29f92309f9f9ac639c58", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/PullRequestModel.ts": "ba435ac661ab8a2cc49b5b0f90f7ff0a2d1b49ea69c440e0b5dafbfc255c1557", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/RepoModel.ts": "97c0ae69d84851c170ed7a514f0e69c4fe4919c901c58cd5fc81dd4183f51a9d", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/UserModel.ts": "634dfac13ce03ef55004a5247e87b6d6c7fd30785f7731d49f4d4f03c689187b", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/WorkflowRunModel.ts": "9465c759c074dddf0b5fea1af107a79fbbbca83200e88012c0ca9f4408efe50b", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Models/WorkflowRunsModel.ts": "6d7f849f1a5c053126fc2abfad60fc21ea22e85181e2733d3d973178aba0c1ee", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Types.ts": "dcde3629b900ca279cf999d61e3ab4e58e1aec8a63d8e0cf1201c9cee0c0be2a", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/Utils.ts": "035a2db7884092817c4cabc721bd9c72417b697dede39910edaa783b093f22a8", - "https://raw.githubusercontent.com/kinsondigital/Infrastructure/v12.1.0/cicd/core/WebAPIClient.ts": "274cf7d19e2d10eb3a36fb5f06dd6cbc8357352ab636781fd3399077b27264ed" - } -} From 4997e3ca3fba7ba3a3e12dcf5c403fc949a8efac Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Sat, 12 Oct 2024 22:36:50 +0100 Subject: [PATCH 3/5] ci: force status checks From 9154973f35979f55935881e858f4949c9a1932bf Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Sun, 13 Oct 2024 08:12:52 +0100 Subject: [PATCH 4/5] ci: force status checks From cb5ac3a6081786690334968ff2e945762377628b Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Sun, 13 Oct 2024 08:25:17 +0100 Subject: [PATCH 5/5] ci: fix workflow reference and input issue --- .github/workflows/sdk-status-check.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/sdk-status-check.yml b/.github/workflows/sdk-status-check.yml index 676240a14..26c6b3bd2 100644 --- a/.github/workflows/sdk-status-check.yml +++ b/.github/workflows/sdk-status-check.yml @@ -15,10 +15,8 @@ on: jobs: sdk_status_check: name: ${{ vars.PROJECT_NAME }} SDK Status Check - uses: KinsonDigital/Infrastructure/.github/workflows/validate-sdk-setup.yml@v14.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/validate-sdk-versions.yml@v14.0.0 with: repo-name: "${{ vars.PROJECT_NAME }}" checkout-repository: ${{ github.event.pull_request.head.repo.full_name }} checkout-ref: ${{ github.event.pull_request.head.ref }} - secrets: - cicd-pat: ${{ secrets.CICD_TOKEN }}