- adjust pr-collector inclusion, to simplify debugging

This commit is contained in:
Mike Penz
2023-08-18 17:16:42 +00:00
committed by GitHub
parent d8188193ab
commit ce66235291
9 changed files with 1581 additions and 1583 deletions
Generated Vendored
+1564 -1564
View File
File diff suppressed because it is too large Load Diff
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
Generated Vendored
-3
View File
@@ -697,9 +697,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
pr-collector
Apache 2.0
semver semver
ISC ISC
The ISC License The ISC License
+1 -1
View File
@@ -1,4 +1,4 @@
import {Rule, Extractor, Regex, Transformer, Sort, PullConfiguration} from 'pr-collector/lib/types' import {Rule, Extractor, Regex, Transformer, Sort, PullConfiguration} from './pr-collector/types'
export interface Configuration extends PullConfiguration { export interface Configuration extends PullConfiguration {
max_tags_to_fetch: number max_tags_to_fetch: number
+1
View File
@@ -0,0 +1 @@
../pr-collector/src/
+3 -3
View File
@@ -1,7 +1,7 @@
import * as core from '@actions/core' import * as core from '@actions/core'
import {Rule, RegexTransformer} from 'pr-collector/lib/types' import {Rule, RegexTransformer} from './pr-collector/types'
import {PullRequestInfo, retrieveProperty} from 'pr-collector/lib/pullRequests' import {PullRequestInfo, retrieveProperty} from './pr-collector/pullRequests'
import {validateTransformer} from 'pr-collector/lib/regexUtils' import {validateTransformer} from './pr-collector/regexUtils'
/** /**
* Checks if any of the rules match the given PR * Checks if any of the rules match the given PR
+5 -5
View File
@@ -2,11 +2,11 @@ import * as core from '@actions/core'
import {Configuration} from './configuration' import {Configuration} from './configuration'
import {checkExportedData} from './utils' import {checkExportedData} from './utils'
import {PullRequestData, buildChangelog} from './transform' import {PullRequestData, buildChangelog} from './transform'
import {PullRequestCollector} from 'pr-collector' import {PullRequestCollector} from './pr-collector/prCollector'
import {failOrError} from 'pr-collector/lib/utils' import {failOrError} from './pr-collector/utils'
import {TagInfo} from 'pr-collector/lib/tags' import {TagInfo} from './pr-collector/tags'
import {DiffInfo} from 'pr-collector/lib/commits' import {DiffInfo} from './pr-collector/commits'
import {PullRequestInfo} from 'pr-collector/lib/pullRequests' import {PullRequestInfo} from './pr-collector/pullRequests'
export interface ReleaseNotesOptions { export interface ReleaseNotesOptions {
owner: string // the owner of the repository owner: string // the owner of the repository
+4 -4
View File
@@ -8,10 +8,10 @@ import {
PullRequestInfo, PullRequestInfo,
retrieveProperty, retrieveProperty,
sortPullRequests sortPullRequests
} from 'pr-collector/lib/pullRequests' } from './pr-collector/pullRequests'
import {DiffInfo} from 'pr-collector/lib/commits' import {DiffInfo} from './pr-collector/commits'
import {validateTransformer} from 'pr-collector/lib/regexUtils' import {validateTransformer} from './pr-collector/regexUtils'
import {Transformer, RegexTransformer} from 'pr-collector/lib/types' import {Transformer, RegexTransformer} from './pr-collector/types'
import {ReleaseNotesOptions} from './releaseNotesBuilder' import {ReleaseNotesOptions} from './releaseNotesBuilder'
import {matchesRules} from './regexUtils' import {matchesRules} from './regexUtils'
+2 -2
View File
@@ -3,8 +3,8 @@ import * as fs from 'fs'
import * as path from 'path' import * as path from 'path'
import {Configuration, DefaultConfiguration} from './configuration' import {Configuration, DefaultConfiguration} from './configuration'
import moment from 'moment' import moment from 'moment'
import {DiffInfo} from 'pr-collector/lib/commits' import {DiffInfo} from './pr-collector/commits'
import {PullRequestInfo} from 'pr-collector/lib/pullRequests' import {PullRequestInfo} from './pr-collector/pullRequests'
import {Data, ReleaseNotesOptions} from './releaseNotesBuilder' import {Data, ReleaseNotesOptions} from './releaseNotesBuilder'
/** /**
* Resolves the repository path, relatively to the GITHUB_WORKSPACE * Resolves the repository path, relatively to the GITHUB_WORKSPACE