Commit Graph
42 Commits
Author SHA1 Message Date
Mike PenzandGitHub 1eff87d3e9 - Enhance error log in case of a fatal error building the changelog
- RELATES TO https://github.com/mikepenz/release-changelog-builder-action/issues/1331
2024-04-11 06:28:47 +00:00
Mike PenzandGitHub db235a6627 - introduce new mode configuration (replaces commitMode) with the option for PR, COMMIT or HYBRID (whereas hybrid has commits and PRs alongside)
- introduce new default commit configuration automatically used if `COMMIT` mode is configured. this uses a label extractor to support conventional commits
2024-03-02 12:03:19 +00:00
Mike PenzandGitHub 8afbd5a789 - fix formatting
- apply some smaller fixes
- enable cache for 1 gitea test (no need to use API)
- do not cache and export token in cache
- speed up main.test.ts
2023-11-05 10:05:00 +00:00
Ankio 549ee31eaa feat:add gitea platform resolver 2023-10-31 22:46:26 +08:00
Ankio 0bb95b5a6f refactor: Extract github-related calls 2023-10-31 17:51:00 +08:00
Mike PenzandGitHub a72c0bbc47 - refactor the caching logic given the GitHub action limit on arguments is too small to allow passing in the whole cache
- adjust the `cache` to now only take the file-path to read the cache from
  - offer temporary backwards compatiblity on passing the cache directly
  - add documentation for cache vars in README
2023-08-25 08:23:54 +00:00
Mike PenzandGitHub f0cbee5a3a - add new configuration to enable exportCache (disabled by default)
- this changes behavior since `rc04`
2023-07-28 11:24:47 +00:00
Mike PenzandGitHub e463dcb45c - introduce new configuration fetchViaCommits which is best suited for environments with shorter diffs and/or squash merging (1 api request per commit) 2023-07-28 10:08:07 +00:00
Mike PenzandGitHub e2fe4592e1 - adjust log message 2023-06-04 10:59:59 +00:00
Mike PenzandGitHub 5dd6b400c7 - replace ENV variable output with normal output (requires re-passing)
- update README
2023-06-04 10:20:31 +00:00
Mike PenzandGitHub 0a80bc9a3b - introduce capability of the action running 2 split
- first collect all pull requests and export to environment
  - second take exported data and continue generation of changelogs (makes it cheaper, by only collecting PRs once)
2023-05-26 13:41:59 +00:00
Mike PenzandGitHub 0ce8384e73 - add additional logs on handling of configs (e.g. identify which config was picked) - outline if no config was picked and defaults are used 2023-02-26 12:13:36 +00:00
Mike PenzandGitHub 77b2076a3f - add support for configs to be provided from file and json
- define priority on the config json from YML, followed by file, last with the default value
  - Simplify code by merging configs right away
  - thanks for the suggestion @dtcMLOps
2023-01-03 15:44:57 +00:00
Mike PenzandGitHub 24f4e30f9f - introduce proper configuration for fetchReviews
- drop no longer needed limiting of PRs
- retrieve state from PR review comment
2022-12-09 13:29:06 +00:00
Mike PenzandGitHub b1ea770a88 - reformat source - lineLength 120 2022-07-29 13:48:53 +00:00
Mike PenzandGitHub 02b79cb00a - introduce capability to define the Configuration via the build yml without the requirement of a file
- this also allows to generate changelogs without the need to chech-out
2022-07-29 09:21:44 +00:00
Mike Penz c061d0e577 - introduce new configuration flag to fetchReleaseInformation
- if enabled, it will unlock the ability to use new placeholders
  - `${{ DAYS_SINCE }}`
  - `${{ FROM_TAG_DATE }}`
  - `${{ TO_TAG_DATE }}`
- refactor to carry on the full `TagInfo` information instead of only the tagname
- refresh testcases to new apis
2022-07-26 16:47:23 +02:00
Mike Penz a86b1b7058 - format the main.ts class 2022-04-15 10:36:10 +02:00
Mike Penz 1e867df2de - introduce new flag allowing to fetch reviewers who approved PRs
- add new testcase which verifies approvers being included
  - adjust config for some test cases to verify reviewers not being pulled if disabled
2022-04-08 12:13:21 +02:00
Mike Penz 85af6a8181 - introduce new flag to include open PRs into the changelog
- only fetch open with this flag
- expand pull request spec with
  - status, created at timestamp
- expand definition for placeholder patterns in the changelog
2022-04-08 11:00:39 +02:00
Leo Giovanetti 71cd64f865 Adding baseUrl for GHE auth 2021-12-03 18:47:02 -03:00
Mike Penz cfac2f37a1 - introduce new configuration option to define category labels to be exhaustive
- require all labels of a category to be present in the matching PR
- update to typescript 4.4.x
- recompile dist
2021-08-27 11:41:20 +02:00
Mike Penz 6a2da2fa89 - upgrade dependencies
- recompile dist
- fix eslint errors, update eslint rules
2021-08-14 18:07:18 +02:00
Mike Penz d66aa0a4e5 - introduce experimental (light) commit based changelog generation mode
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/141
  - this is not fully supported and not documented as it lacks big amounts of the features we know and love
- npm install
- recompile dist
2021-01-07 15:31:18 +01:00
Mike Penz a463f188c1 - introduce new API allowing to write changelog directly to result file
- introduce test case for writing a file
2020-12-30 17:49:41 +01:00
Mike Penz 8b6119add8 - split logic to validate and read in additional details for changelog generation into new releaseNotesBuilder
- construct main class to be as simple as possible
2020-10-19 17:28:54 +02:00
Mike Penz d9c1239d34 - move fromTag resolving to main.ts and remove dependency on checks from ReleaseNotes.ts
- require fromTag for ReleaseNotes
- adjust tests, split into according test classes
- simplify transform.ts
2020-10-19 16:33:00 +02:00
Mike Penz 4b5b38e990 - use || instead of ?? 2020-10-18 12:26:26 +02:00
Mike Penz 962ddbdd54 - test 2020-10-18 12:20:51 +02:00
Mike Penz af4fa53849 - retrieve owner and repo by repository again 2020-10-18 12:17:31 +02:00
Mike Penz 3fd4677f8a - introduce new capability to enforce a build failure
- introduce config to fail on error instead of just logging
- simplify main logic, move functionality in other classes
2020-10-18 11:06:02 +02:00
Mike Penz ec2aabe545 - introduce more output values, and a more detailed description 2020-10-18 10:22:47 +02:00
Mike Penz ffce3af679 - add support to prefer retrieving current toTag from github.context.ref if it starts with refs/tags/ instead of git command 2020-10-18 10:04:10 +02:00
Mike Penz f63fa1dabb - fix formatting, and unused import 2020-10-17 19:42:26 +02:00
Mike Penz bd49950417 - use different pen for write logs
- remove default value for configuration, to cleanly fallback to defaults
- rename gitHelper, move dir exists helper
- add reading input values group
- improve warning for configuration
2020-10-17 19:37:11 +02:00
Mike Penz f675789732 - group logs together to have a better visualisation of what's going on
- add emojis to all sorts of logs
2020-10-17 19:37:11 +02:00
Mike Penz b464ff088a - introduce better more stable fallbacks in case the configuration is missing
- move configurations into subfolder for easier discovery
- simplify missing value fallback specification
2020-10-17 18:02:08 +02:00
Mike Penz 2b44c93df7 - add capability to ignore any pre-release releases from matching against, only relevant if no fromTag is specified
- protect against issue if no previous tag is available
2020-10-16 20:31:49 +02:00
Mike Penz 8e8f50e7f9 - rebuild and update things 2020-10-16 16:45:33 +02:00
Mike Penz db70432deb - fix a ton of formatting issues automatically
- fix many javascript issues
2020-10-16 16:29:13 +02:00
Mike Penz 0a66008df0 - introduce proper approach to retrieve tag before a given tag
- add configuration options for
  - path
  - configuration
  - fromTag, toTag
  - token
- allow to specify transformers to adjust information to a specific form
- allow to specify different templates
- speed up by limiting information to pull
- add logic to automatically resolve current
- use github actions logger
2020-10-16 15:52:24 +02:00
Mike Penz 5dcc029d42 Initial commit 2020-10-16 09:32:07 +02:00