@@ -263,8 +263,8 @@ For advanced use cases additional settings can be provided to the action
|
|||||||
| `outputFile` | Optional relative path to a file to store the resulting changelog in. |
|
| `outputFile` | Optional relative path to a file to store the resulting changelog in. |
|
||||||
| `owner` | The owner of the repository to generate the changelog for |
|
| `owner` | The owner of the repository to generate the changelog for |
|
||||||
| `repo` | Name of the repository we want to process |
|
| `repo` | Name of the repository we want to process |
|
||||||
| `fromTag` | Defines the 'start' from where the changelog will consider merged pull requests |
|
| `fromTag` | Defines the 'start' from where the changelog will consider merged pull requests (can be a tag or a valid git ref) |
|
||||||
| `toTag` | Defines until which tag the changelog will consider merged pull requests |
|
| `toTag` | Defines until which tag the changelog will consider merged pull requests (can be a tag or a valid git ref) |
|
||||||
| `path` | Allows to specify an alternative sub directory, to use as base |
|
| `path` | Allows to specify an alternative sub directory, to use as base |
|
||||||
| `token` | Alternative config to specify token. You should prefer `env.GITHUB_TOKEN` instead though |
|
| `token` | Alternative config to specify token. You should prefer `env.GITHUB_TOKEN` instead though |
|
||||||
| `baseUrl` | Alternative config to specify base url for GitHub Enterprise authentication. Default value set to `https://api.github.com` |
|
| `baseUrl` | Alternative config to specify base url for GitHub Enterprise authentication. Default value set to `https://api.github.com` |
|
||||||
|
|||||||
+1369
-1297
File diff suppressed because it is too large
Load Diff
+1
-1
File diff suppressed because one or more lines are too long
Generated
+985
-879
File diff suppressed because it is too large
Load Diff
+15
-15
@@ -32,29 +32,29 @@
|
|||||||
"author": "Mike Penz",
|
"author": "Mike Penz",
|
||||||
"license": "Apache 2.0",
|
"license": "Apache 2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.8.1",
|
"@actions/core": "^1.9.0",
|
||||||
"@actions/exec": "^1.1.1",
|
"@actions/exec": "^1.1.1",
|
||||||
"@actions/github": "^5.0.2",
|
"@actions/github": "^5.0.3",
|
||||||
"@octokit/rest": "^18.12.0",
|
"@octokit/rest": "^18.12.0",
|
||||||
"@types/semver": "^7.3.9",
|
"@types/semver": "^7.3.10",
|
||||||
"moment": "^2.29.3",
|
"moment": "^2.29.3",
|
||||||
"semver": "^7.3.7",
|
"semver": "^7.3.7",
|
||||||
"tunnel": "^0.0.6",
|
"tunnel": "^0.0.6",
|
||||||
"webpack": "^5.72.1"
|
"webpack": "^5.73.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^27.5.1",
|
"@types/jest": "^28.1.1",
|
||||||
"@types/node": "^17.0.33",
|
"@types/node": "^18.0.0",
|
||||||
"@typescript-eslint/parser": "^5.23.0",
|
"@typescript-eslint/parser": "^5.28.0",
|
||||||
"@vercel/ncc": "^0.33.4",
|
"@vercel/ncc": "^0.34.0",
|
||||||
"eslint": "^8.15.0",
|
"eslint": "^8.17.0",
|
||||||
"eslint-plugin-github": "^4.3.6",
|
"eslint-plugin-github": "^4.3.6",
|
||||||
"eslint-plugin-jest": "^26.1.5",
|
"eslint-plugin-jest": "^26.5.3",
|
||||||
"jest": "^28.1.0",
|
"jest": "^28.1.1",
|
||||||
"jest-circus": "^28.1.0",
|
"jest-circus": "^28.1.1",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"prettier": "2.6.2",
|
"prettier": "2.7.1",
|
||||||
"ts-jest": "^28.0.2",
|
"ts-jest": "^28.0.5",
|
||||||
"typescript": "^4.6.4"
|
"typescript": "^4.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -214,7 +214,7 @@ export class ReleaseNotes {
|
|||||||
|
|
||||||
core.info(`ℹ️ Retrieved ${prCommits.length} commits for ${owner}/${repo}`)
|
core.info(`ℹ️ Retrieved ${prCommits.length} commits for ${owner}/${repo}`)
|
||||||
|
|
||||||
return prCommits.map(function (commit) {
|
return prCommits.map(function (commit): PullRequestInfo {
|
||||||
return {
|
return {
|
||||||
number: 0,
|
number: 0,
|
||||||
title: commit.summary,
|
title: commit.summary,
|
||||||
|
|||||||
Reference in New Issue
Block a user