mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +00:00
chore(deps): bump @actions/github from 4.0.0 to 5.0.0
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 4.0.0 to 5.0.0. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github) Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
ef84115a74
commit
940dc8ae05
4 changed files with 29 additions and 50 deletions
69
package-lock.json
generated
69
package-lock.json
generated
|
|
@ -10,7 +10,7 @@
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.2.6",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/github": "^4.0.0",
|
"@actions/github": "^5.0.0",
|
||||||
"@commitlint/config-angular": "^12.1.4",
|
"@commitlint/config-angular": "^12.1.4",
|
||||||
"@commitlint/config-conventional": "^12.1.4",
|
"@commitlint/config-conventional": "^12.1.4",
|
||||||
"@commitlint/config-lerna-scopes": "^12.1.4",
|
"@commitlint/config-lerna-scopes": "^12.1.4",
|
||||||
|
|
@ -65,14 +65,14 @@
|
||||||
"integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
|
"integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
|
||||||
},
|
},
|
||||||
"node_modules/@actions/github": {
|
"node_modules/@actions/github": {
|
||||||
"version": "4.0.0",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@actions/github/-/github-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz",
|
||||||
"integrity": "sha512-Ej/Y2E+VV6sR9X7pWL5F3VgEWrABaT292DRqRU6R4hnQjPtC/zD3nagxVdXWiRQvYDh8kHXo7IDmG42eJ/dOMA==",
|
"integrity": "sha512-QvE9eAAfEsS+yOOk0cylLBIO/d6WyWIOvsxxzdrPFaud39G6BOkUwScXZn1iBzQzHyu9SBkkLSWlohDWdsasAQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/http-client": "^1.0.8",
|
"@actions/http-client": "^1.0.11",
|
||||||
"@octokit/core": "^3.0.0",
|
"@octokit/core": "^3.4.0",
|
||||||
"@octokit/plugin-paginate-rest": "^2.2.3",
|
"@octokit/plugin-paginate-rest": "^2.13.3",
|
||||||
"@octokit/plugin-rest-endpoint-methods": "^4.0.0"
|
"@octokit/plugin-rest-endpoint-methods": "^5.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/http-client": {
|
"node_modules/@actions/http-client": {
|
||||||
|
|
@ -3788,11 +3788,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/plugin-rest-endpoint-methods": {
|
"node_modules/@octokit/plugin-rest-endpoint-methods": {
|
||||||
"version": "4.15.1",
|
"version": "5.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.15.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.4.1.tgz",
|
||||||
"integrity": "sha512-4gQg4ySoW7ktKB0Mf38fHzcSffVZd6mT5deJQtpqkuPuAqzlED5AJTeW8Uk7dPRn7KaOlWcXB0MedTFJU1j4qA==",
|
"integrity": "sha512-Nx0g7I5ayAYghsLJP4Q1Ch2W9jYYM0FlWWWZocUro8rNxVwuZXGfFd7Rcqi9XDWepSXjg1WByiNJnZza2hIOvQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/types": "^6.13.0",
|
"@octokit/types": "^6.18.1",
|
||||||
"deprecation": "^2.3.1"
|
"deprecation": "^2.3.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|
@ -3833,18 +3833,6 @@
|
||||||
"@octokit/plugin-rest-endpoint-methods": "5.4.1"
|
"@octokit/plugin-rest-endpoint-methods": "5.4.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/rest/node_modules/@octokit/plugin-rest-endpoint-methods": {
|
|
||||||
"version": "5.4.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.4.1.tgz",
|
|
||||||
"integrity": "sha512-Nx0g7I5ayAYghsLJP4Q1Ch2W9jYYM0FlWWWZocUro8rNxVwuZXGfFd7Rcqi9XDWepSXjg1WByiNJnZza2hIOvQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"@octokit/types": "^6.18.1",
|
|
||||||
"deprecation": "^2.3.1"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@octokit/core": ">=3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@octokit/types": {
|
"node_modules/@octokit/types": {
|
||||||
"version": "6.18.1",
|
"version": "6.18.1",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.18.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.18.1.tgz",
|
||||||
|
|
@ -14653,14 +14641,14 @@
|
||||||
"integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
|
"integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
|
||||||
},
|
},
|
||||||
"@actions/github": {
|
"@actions/github": {
|
||||||
"version": "4.0.0",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@actions/github/-/github-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz",
|
||||||
"integrity": "sha512-Ej/Y2E+VV6sR9X7pWL5F3VgEWrABaT292DRqRU6R4hnQjPtC/zD3nagxVdXWiRQvYDh8kHXo7IDmG42eJ/dOMA==",
|
"integrity": "sha512-QvE9eAAfEsS+yOOk0cylLBIO/d6WyWIOvsxxzdrPFaud39G6BOkUwScXZn1iBzQzHyu9SBkkLSWlohDWdsasAQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@actions/http-client": "^1.0.8",
|
"@actions/http-client": "^1.0.11",
|
||||||
"@octokit/core": "^3.0.0",
|
"@octokit/core": "^3.4.0",
|
||||||
"@octokit/plugin-paginate-rest": "^2.2.3",
|
"@octokit/plugin-paginate-rest": "^2.13.3",
|
||||||
"@octokit/plugin-rest-endpoint-methods": "^4.0.0"
|
"@octokit/plugin-rest-endpoint-methods": "^5.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@actions/http-client": {
|
"@actions/http-client": {
|
||||||
|
|
@ -17457,11 +17445,11 @@
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
"@octokit/plugin-rest-endpoint-methods": {
|
"@octokit/plugin-rest-endpoint-methods": {
|
||||||
"version": "4.15.1",
|
"version": "5.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.15.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.4.1.tgz",
|
||||||
"integrity": "sha512-4gQg4ySoW7ktKB0Mf38fHzcSffVZd6mT5deJQtpqkuPuAqzlED5AJTeW8Uk7dPRn7KaOlWcXB0MedTFJU1j4qA==",
|
"integrity": "sha512-Nx0g7I5ayAYghsLJP4Q1Ch2W9jYYM0FlWWWZocUro8rNxVwuZXGfFd7Rcqi9XDWepSXjg1WByiNJnZza2hIOvQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@octokit/types": "^6.13.0",
|
"@octokit/types": "^6.18.1",
|
||||||
"deprecation": "^2.3.1"
|
"deprecation": "^2.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -17497,17 +17485,6 @@
|
||||||
"@octokit/plugin-paginate-rest": "^2.6.2",
|
"@octokit/plugin-paginate-rest": "^2.6.2",
|
||||||
"@octokit/plugin-request-log": "^1.0.2",
|
"@octokit/plugin-request-log": "^1.0.2",
|
||||||
"@octokit/plugin-rest-endpoint-methods": "5.4.1"
|
"@octokit/plugin-rest-endpoint-methods": "5.4.1"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@octokit/plugin-rest-endpoint-methods": {
|
|
||||||
"version": "5.4.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.4.1.tgz",
|
|
||||||
"integrity": "sha512-Nx0g7I5ayAYghsLJP4Q1Ch2W9jYYM0FlWWWZocUro8rNxVwuZXGfFd7Rcqi9XDWepSXjg1WByiNJnZza2hIOvQ==",
|
|
||||||
"requires": {
|
|
||||||
"@octokit/types": "^6.18.1",
|
|
||||||
"deprecation": "^2.3.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@octokit/types": {
|
"@octokit/types": {
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
"homepage": "https://github.com/wagoid/commitlint-github-action",
|
"homepage": "https://github.com/wagoid/commitlint-github-action",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.2.6",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/github": "^4.0.0",
|
"@actions/github": "^5.0.0",
|
||||||
"@commitlint/config-angular": "^12.1.4",
|
"@commitlint/config-angular": "^12.1.4",
|
||||||
"@commitlint/config-conventional": "^12.1.4",
|
"@commitlint/config-conventional": "^12.1.4",
|
||||||
"@commitlint/config-lerna-scopes": "^12.1.4",
|
"@commitlint/config-lerna-scopes": "^12.1.4",
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ const getRangeForEvent = async () => {
|
||||||
|
|
||||||
const octokit = getOctokit(getInput('token'))
|
const octokit = getOctokit(getInput('token'))
|
||||||
const { owner, repo, number } = eventContext.issue
|
const { owner, repo, number } = eventContext.issue
|
||||||
const { data: commits } = await octokit.pulls.listCommits({
|
const { data: commits } = await octokit.rest.pulls.listCommits({
|
||||||
owner,
|
owner,
|
||||||
repo,
|
repo,
|
||||||
pull_number: number,
|
pull_number: number,
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,10 @@ const runAction = async () => {
|
||||||
const github = await import('@actions/github')
|
const github = await import('@actions/github')
|
||||||
class MockOctokit {
|
class MockOctokit {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.pulls = {
|
this.rest = {
|
||||||
listCommits,
|
pulls: {
|
||||||
|
listCommits,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue