diff --git a/.github/scripts/lint/lint.yml b/.github/scripts/lint/lint.yml
new file mode 100644
index 0000000..41f8d1a
--- /dev/null
+++ b/.github/scripts/lint/lint.yml
@@ -0,0 +1,3 @@
+name: Lint
+description: This command lints the project
+commandStart: 'yarn install && yarn run fix'
diff --git a/.github/workflows/cmd-action.yml b/.github/workflows/cmd-action.yml
index fcb288e..dbf261b 100644
--- a/.github/workflows/cmd-action.yml
+++ b/.github/workflows/cmd-action.yml
@@ -26,6 +26,9 @@ jobs:
command: ${{ fromJson(needs.cmd-check.outputs.commands) }}
name: Run command
steps:
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 20
- uses: paritytech/cmd-action/run@main
with:
branch: ${{ needs.cmd-check.outputs.branch }}
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 129bc4d..672e22b 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -38,7 +38,7 @@ jobs:
FILE_NAME: ".github/workflows/cmd-action.yml"
- name: Validate that cmd-run points to main branch
run: |
- BRANCH=$(yq '.jobs.cmd-run.steps[0].uses' $FILE_NAME | cut -d "@" -f2)
+ BRANCH=$(yq '.jobs.cmd-run.steps[1].uses' $FILE_NAME | cut -d "@" -f2)
# If the branch is not the main branch
if [ "$BRANCH" != "$GITHUB_BASE_REF" ]; then
echo "Action points to $BRANCH. It has to point to $GITHUB_BASE_REF instead!"
diff --git a/package.json b/package.json
index 66113ca..3598c64 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
"homepage": "https://github.com/Bullrich/parity-action-template#readme",
"dependencies": {
"@actions/core": "^1.10.1",
- "@actions/github": "^5.1.1",
+ "@actions/github": "^6.0.0",
"@eng-automation/integrations": "^4.3.0",
"@octokit/webhooks-types": "^7.5.1",
"joi": "^17.13.1",
diff --git a/src/commander.ts b/src/commander.ts
index 0ddea71..d29e0af 100644
--- a/src/commander.ts
+++ b/src/commander.ts
@@ -1,6 +1,6 @@
import { summary } from "@actions/core";
import { readFile } from "fs/promises";
-import { dirname } from "path";
+import path from "path";
import { parse } from "yaml";
import { ActionLogger } from "./github/types";
@@ -25,9 +25,10 @@ export class Commander {
const commands: Command[] = [];
for (const file of files) {
const content = await readFile(file, "utf-8");
- const command = parse(content) as Command;
- command.location = dirname(file);
this.logger.info(`Parsing ${file}`);
+ const command = parse(content) as Command;
+ command.filename = path.basename(file, ".yml");
+ command.location = path.dirname(file);
validateConfig(command);
commands.push(command);
}
@@ -49,6 +50,8 @@ export class Commander {
text = text.addRaw(command.description).addEOL();
}
text = text
+ .addEOL()
+ .addRaw(`How to run: /cmd ${command.filename}
`)
.addEOL()
.addDetails("File location", `${command.location}
`)
.addEOL();
@@ -77,13 +80,13 @@ export class Commander {
const commands = await this.getCommands();
const outputs: { name: string; command: string }[] = [];
for (const comment of lines) {
- // parse "/bot command"
+ // parse "/cmd command"
const [_, command] = comment.trim().split(" ");
this.logger.info(`Searching for command '${command}'`);
const matchingCommand = commands.findIndex(
- ({ name }) => name === command,
+ ({ filename }) => filename === command,
);
if (matchingCommand < 0) {
throw new Error(
diff --git a/src/schema/command.ts b/src/schema/command.ts
index 796ab1f..a832386 100644
--- a/src/schema/command.ts
+++ b/src/schema/command.ts
@@ -1,5 +1,6 @@
export interface Command {
name: string;
+ filename: string;
location: string;
description?: string;
machine?: string[];
diff --git a/src/schema/validator.ts b/src/schema/validator.ts
index 6a319a7..78e255a 100644
--- a/src/schema/validator.ts
+++ b/src/schema/validator.ts
@@ -11,7 +11,9 @@ const commandSchema = Joi.object().keys({
commandStart: Joi.string().required(),
});
-export const validateConfig = (config: Command): Command | never =>
+type JoiCommand = Omit;
+
+export const validateConfig = (config: JoiCommand): JoiCommand | never =>
validate(config, commandSchema, {
message: "Command file is invalid",
});
diff --git a/src/test/commander.test.ts b/src/test/commander.test.ts
new file mode 100644
index 0000000..7c7471e
--- /dev/null
+++ b/src/test/commander.test.ts
@@ -0,0 +1,8 @@
+import { Commander } from "../commander";
+import { generateCoreLogger } from "../util";
+
+test("test command inside repository", async () => {
+ const commander = new Commander(".github/scripts", generateCoreLogger());
+ const commands = await commander.getCommands();
+ expect(commands.length).toBeGreaterThan(0);
+});
diff --git a/src/test/validator.test.ts b/src/test/validator.test.ts
index 2520edf..55fcb1f 100644
--- a/src/test/validator.test.ts
+++ b/src/test/validator.test.ts
@@ -2,7 +2,7 @@ import { Command } from "../schema/command";
import { validateConfig } from "../schema/validator";
test("test good command", () => {
- const goodCommand: Command = {
+ const goodCommand: Omit = {
name: "Hi",
timeout: 10,
location: "",
diff --git a/yarn.lock b/yarn.lock
index 739ea55..987608d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -15,15 +15,15 @@
"@actions/http-client" "^2.0.1"
uuid "^8.3.2"
-"@actions/github@^5.1.1":
- version "5.1.1"
- resolved "https://registry.yarnpkg.com/@actions/github/-/github-5.1.1.tgz#40b9b9e1323a5efcf4ff7dadd33d8ea51651bbcb"
- integrity sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==
+"@actions/github@^6.0.0":
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/@actions/github/-/github-6.0.0.tgz#65883433f9d81521b782a64cc1fd45eef2191ea7"
+ integrity sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==
dependencies:
- "@actions/http-client" "^2.0.1"
- "@octokit/core" "^3.6.0"
- "@octokit/plugin-paginate-rest" "^2.17.0"
- "@octokit/plugin-rest-endpoint-methods" "^5.13.0"
+ "@actions/http-client" "^2.2.0"
+ "@octokit/core" "^5.0.1"
+ "@octokit/plugin-paginate-rest" "^9.0.0"
+ "@octokit/plugin-rest-endpoint-methods" "^10.0.0"
"@actions/http-client@^2.0.1":
version "2.1.1"
@@ -32,6 +32,14 @@
dependencies:
tunnel "^0.0.6"
+"@actions/http-client@^2.2.0":
+ version "2.2.1"
+ resolved "https://registry.yarnpkg.com/@actions/http-client/-/http-client-2.2.1.tgz#ed3fe7a5a6d317ac1d39886b0bb999ded229bb38"
+ integrity sha512-KhC/cZsq7f8I4LfZSJKgCvEwfkE8o1538VoBeoGzokVLLnbFDEAdFD3UhoMklxo2un9NJVBdANOresx7vTHlHw==
+ dependencies:
+ tunnel "^0.0.6"
+ undici "^5.25.4"
+
"@ampproject/remapping@^2.2.0":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630"
@@ -465,6 +473,11 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
+"@fastify/busboy@^2.0.0":
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d"
+ integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==
+
"@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0":
version "9.3.0"
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
@@ -829,30 +842,15 @@
btoa-lite "^1.0.0"
universal-user-agent "^6.0.0"
-"@octokit/auth-token@^2.4.4":
- version "2.5.0"
- resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.5.0.tgz#27c37ea26c205f28443402477ffd261311f21e36"
- integrity sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==
- dependencies:
- "@octokit/types" "^6.0.3"
-
"@octokit/auth-token@^3.0.0":
version "3.0.4"
resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.4.tgz#70e941ba742bdd2b49bdb7393e821dea8520a3db"
integrity sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ==
-"@octokit/core@^3.6.0":
- version "3.6.0"
- resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.6.0.tgz#3376cb9f3008d9b3d110370d90e0a1fcd5fe6085"
- integrity sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==
- dependencies:
- "@octokit/auth-token" "^2.4.4"
- "@octokit/graphql" "^4.5.8"
- "@octokit/request" "^5.6.3"
- "@octokit/request-error" "^2.0.5"
- "@octokit/types" "^6.0.3"
- before-after-hook "^2.2.0"
- universal-user-agent "^6.0.0"
+"@octokit/auth-token@^4.0.0":
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-4.0.0.tgz#40d203ea827b9f17f42a29c6afb93b7745ef80c7"
+ integrity sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==
"@octokit/core@^4.1.0", "@octokit/core@^4.2.1":
version "4.2.4"
@@ -867,13 +865,17 @@
before-after-hook "^2.2.0"
universal-user-agent "^6.0.0"
-"@octokit/endpoint@^6.0.1":
- version "6.0.12"
- resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658"
- integrity sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==
- dependencies:
- "@octokit/types" "^6.0.3"
- is-plain-object "^5.0.0"
+"@octokit/core@^5.0.1":
+ version "5.2.0"
+ resolved "https://registry.yarnpkg.com/@octokit/core/-/core-5.2.0.tgz#ddbeaefc6b44a39834e1bb2e58a49a117672a7ea"
+ integrity sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==
+ dependencies:
+ "@octokit/auth-token" "^4.0.0"
+ "@octokit/graphql" "^7.1.0"
+ "@octokit/request" "^8.3.1"
+ "@octokit/request-error" "^5.1.0"
+ "@octokit/types" "^13.0.0"
+ before-after-hook "^2.2.0"
universal-user-agent "^6.0.0"
"@octokit/endpoint@^7.0.0":
@@ -885,13 +887,12 @@
is-plain-object "^5.0.0"
universal-user-agent "^6.0.0"
-"@octokit/graphql@^4.5.8":
- version "4.8.0"
- resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.8.0.tgz#664d9b11c0e12112cbf78e10f49a05959aa22cc3"
- integrity sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==
+"@octokit/endpoint@^9.0.1":
+ version "9.0.5"
+ resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-9.0.5.tgz#e6c0ee684e307614c02fc6ac12274c50da465c44"
+ integrity sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==
dependencies:
- "@octokit/request" "^5.6.0"
- "@octokit/types" "^6.0.3"
+ "@octokit/types" "^13.1.0"
universal-user-agent "^6.0.0"
"@octokit/graphql@^5.0.0":
@@ -903,6 +904,15 @@
"@octokit/types" "^9.0.0"
universal-user-agent "^6.0.0"
+"@octokit/graphql@^7.1.0":
+ version "7.1.0"
+ resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-7.1.0.tgz#9bc1c5de92f026648131f04101cab949eeffe4e0"
+ integrity sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==
+ dependencies:
+ "@octokit/request" "^8.3.0"
+ "@octokit/types" "^13.0.0"
+ universal-user-agent "^6.0.0"
+
"@octokit/oauth-authorization-url@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@octokit/oauth-authorization-url/-/oauth-authorization-url-5.0.0.tgz#029626ce87f3b31addb98cd0d2355c2381a1c5a1"
@@ -919,11 +929,6 @@
"@octokit/types" "^9.0.0"
btoa-lite "^1.0.0"
-"@octokit/openapi-types@^12.11.0":
- version "12.11.0"
- resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-12.11.0.tgz#da5638d64f2b919bca89ce6602d059f1b52d3ef0"
- integrity sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==
-
"@octokit/openapi-types@^14.0.0":
version "14.0.0"
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-14.0.0.tgz#949c5019028c93f189abbc2fb42f333290f7134a"
@@ -934,12 +939,15 @@
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-18.1.1.tgz#09bdfdabfd8e16d16324326da5148010d765f009"
integrity sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw==
-"@octokit/plugin-paginate-rest@^2.17.0":
- version "2.21.3"
- resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz#7f12532797775640dbb8224da577da7dc210c87e"
- integrity sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==
- dependencies:
- "@octokit/types" "^6.40.0"
+"@octokit/openapi-types@^20.0.0":
+ version "20.0.0"
+ resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-20.0.0.tgz#9ec2daa0090eeb865ee147636e0c00f73790c6e5"
+ integrity sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==
+
+"@octokit/openapi-types@^22.2.0":
+ version "22.2.0"
+ resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-22.2.0.tgz#75aa7dcd440821d99def6a60b5f014207ae4968e"
+ integrity sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==
"@octokit/plugin-paginate-rest@^6.0.0", "@octokit/plugin-paginate-rest@^6.1.2":
version "6.1.2"
@@ -949,18 +957,24 @@
"@octokit/tsconfig" "^1.0.2"
"@octokit/types" "^9.2.3"
+"@octokit/plugin-paginate-rest@^9.0.0":
+ version "9.2.1"
+ resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.2.1.tgz#2e2a2f0f52c9a4b1da1a3aa17dabe3c459b9e401"
+ integrity sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==
+ dependencies:
+ "@octokit/types" "^12.6.0"
+
"@octokit/plugin-request-log@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85"
integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==
-"@octokit/plugin-rest-endpoint-methods@^5.13.0":
- version "5.16.2"
- resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz#7ee8bf586df97dd6868cf68f641354e908c25342"
- integrity sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==
+"@octokit/plugin-rest-endpoint-methods@^10.0.0":
+ version "10.4.1"
+ resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.4.1.tgz#41ba478a558b9f554793075b2e20cd2ef973be17"
+ integrity sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==
dependencies:
- "@octokit/types" "^6.39.0"
- deprecation "^2.3.1"
+ "@octokit/types" "^12.6.0"
"@octokit/plugin-rest-endpoint-methods@^7.1.2":
version "7.2.3"
@@ -977,15 +991,6 @@
"@octokit/types" "^8.0.0"
bottleneck "^2.15.3"
-"@octokit/request-error@^2.0.5", "@octokit/request-error@^2.1.0":
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677"
- integrity sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==
- dependencies:
- "@octokit/types" "^6.0.3"
- deprecation "^2.0.0"
- once "^1.4.0"
-
"@octokit/request-error@^3.0.0", "@octokit/request-error@^3.0.3":
version "3.0.3"
resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69"
@@ -995,17 +1000,14 @@
deprecation "^2.0.0"
once "^1.4.0"
-"@octokit/request@^5.6.0", "@octokit/request@^5.6.3":
- version "5.6.3"
- resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0"
- integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==
+"@octokit/request-error@^5.1.0":
+ version "5.1.0"
+ resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-5.1.0.tgz#ee4138538d08c81a60be3f320cd71063064a3b30"
+ integrity sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==
dependencies:
- "@octokit/endpoint" "^6.0.1"
- "@octokit/request-error" "^2.1.0"
- "@octokit/types" "^6.16.1"
- is-plain-object "^5.0.0"
- node-fetch "^2.6.7"
- universal-user-agent "^6.0.0"
+ "@octokit/types" "^13.1.0"
+ deprecation "^2.0.0"
+ once "^1.4.0"
"@octokit/request@^6.0.0", "@octokit/request@^6.2.3":
version "6.2.8"
@@ -1019,6 +1021,16 @@
node-fetch "^2.6.7"
universal-user-agent "^6.0.0"
+"@octokit/request@^8.3.0", "@octokit/request@^8.3.1":
+ version "8.4.0"
+ resolved "https://registry.yarnpkg.com/@octokit/request/-/request-8.4.0.tgz#7f4b7b1daa3d1f48c0977ad8fffa2c18adef8974"
+ integrity sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==
+ dependencies:
+ "@octokit/endpoint" "^9.0.1"
+ "@octokit/request-error" "^5.1.0"
+ "@octokit/types" "^13.1.0"
+ universal-user-agent "^6.0.0"
+
"@octokit/rest@^19.0.7":
version "19.0.13"
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.13.tgz#e799393264edc6d3c67eeda9e5bd7832dcf974e4"
@@ -1041,12 +1053,19 @@
dependencies:
"@octokit/openapi-types" "^18.0.0"
-"@octokit/types@^6.0.3", "@octokit/types@^6.16.1", "@octokit/types@^6.39.0", "@octokit/types@^6.40.0":
- version "6.41.0"
- resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.41.0.tgz#e58ef78d78596d2fb7df9c6259802464b5f84a04"
- integrity sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==
+"@octokit/types@^12.6.0":
+ version "12.6.0"
+ resolved "https://registry.yarnpkg.com/@octokit/types/-/types-12.6.0.tgz#8100fb9eeedfe083aae66473bd97b15b62aedcb2"
+ integrity sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==
+ dependencies:
+ "@octokit/openapi-types" "^20.0.0"
+
+"@octokit/types@^13.0.0", "@octokit/types@^13.1.0":
+ version "13.5.0"
+ resolved "https://registry.yarnpkg.com/@octokit/types/-/types-13.5.0.tgz#4796e56b7b267ebc7c921dcec262b3d5bfb18883"
+ integrity sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==
dependencies:
- "@octokit/openapi-types" "^12.11.0"
+ "@octokit/openapi-types" "^22.2.0"
"@octokit/types@^8.0.0":
version "8.2.1"
@@ -4713,6 +4732,13 @@ unbox-primitive@^1.0.2:
has-symbols "^1.0.3"
which-boxed-primitive "^1.0.2"
+undici@^5.25.4:
+ version "5.28.4"
+ resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.4.tgz#6b280408edb6a1a604a9b20340f45b422e373068"
+ integrity sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==
+ dependencies:
+ "@fastify/busboy" "^2.0.0"
+
universal-github-app-jwt@^1.1.1:
version "1.1.2"
resolved "https://registry.yarnpkg.com/universal-github-app-jwt/-/universal-github-app-jwt-1.1.2.tgz#8c1867a394d7d9d42cda34f11d1bcb023797d8df"