Malte Hallström
e8ee90b94f
- cleanup unmatched custom ph:s from pr template
2022-08-16 16:05:39 +02:00
Mike Penz and GitHub
117e48acf3
Merge pull request #857 from mikepenz/feature/update_dependencies_20220810
...
Update dependencies 2022.08.10 | @actions/core
2022-08-10 14:35:48 +02:00
Mike Penz and GitHub
2141e3fb4f
- update dependencies
...
```
Package Current Wanted Latest Location Depended by
@actions/core 1.9.0 1.9.1 1.9.1 node_modules/@actions/core release-changelog-builder-action
@types/node 18.6.4 18.6.5 18.6.5 node_modules/@types/node release-changelog-builder-action
@typescript-eslint/parser 5.32.0 5.33.0 5.33.0 node_modules/@typescript-eslint/parser release-changelog-builder-action
eslint-plugin-jest 26.7.0 26.8.2 26.8.2 node_modules/eslint-plugin-jest release-changelog-builder-action
```
2022-08-10 12:27:25 +00:00
Mike Penz and GitHub
779bd4ee53
Merge branch 'proxy' into develop
2022-08-10 12:21:41 +00:00
Mike Penz and GitHub
e38965eec7
- adjust agent to be undefined instead of an empty object
2022-08-10 12:20:56 +00:00
Florian Hopfensperger
97db2b0c39
Add HTTP proxy functionality
...
Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de >
- lower proxy functionality to Https for now (the general proxy package adds a ton of dependencies - which are difficult to review)
Add octokit documentation
Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de >
Lint & build & packaged
Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de >
2022-08-10 08:36:32 +02:00
Mike Penz and GitHub
79931e1000
Merge pull request #856 from mikepenz/feature/fix_log_message
...
Ensure log message is properly displayed as string
2022-08-09 18:54:30 +02:00
Mike Penz and GitHub
63b88e3bff
- ensure log message is properly displayed as string
2022-08-09 16:47:12 +00:00
Mike Penz and GitHub
5dc6e72082
Merge pull request #847 from mikepenz/feature/dependency_udpates_20220805
...
Dependency updates - 2022.08.05
2022-08-05 15:01:19 +02:00
Mike Penz and GitHub
09f88b90a5
- update dependencies
...
```
Package Current Wanted Latest Location Depended by
@types/node 18.6.2 18.6.4 18.6.4 node_modules/@types/node release-changelog-builder-action
@typescript-eslint/parser 5.31.0 5.32.0 5.32.0 node_modules/@typescript-eslint/parser release-changelog-builder-action
eslint 8.20.0 8.21.0 8.21.0 node_modules/eslint release-changelog-builder-action
eslint-plugin-jest 26.6.0 26.7.0 26.7.0 node_modules/eslint-plugin-jest release-changelog-builder-action
```
2022-08-05 12:54:11 +00:00
Mike Penz and GitHub
70047b300c
Merge pull request #846 from mikepenz/feature/add_custom_placeholder_docs
...
Introduce documentation on `experimental` custom placeholder feature
2022-08-05 14:52:54 +02:00
Mike Penz and GitHub
bed15c1b24
- add more logs for custom placeholders
...
- write up experimental docs for custom placeholders
2022-08-05 12:45:37 +00:00
Mike Penz and GitHub
e725caaceb
Merge pull request #840 from mikepenz/fix/exclusion_of_no_match
...
Exclude no match custom placeholders
2022-07-30 09:13:19 +02:00
Mike Penz
4cc48881f7
- recompile dist
2022-07-30 09:04:48 +02:00
Mike Penz
2f418c46e5
- exclude custom placeholder content if there was no match
2022-07-30 08:15:32 +02:00
Mike Penz and GitHub
d498bbd476
Update demo action version
2022-07-29 20:04:49 +02:00
Mike Penz and GitHub
f0807d2719
Merge pull request #837 from mikepenz/feature/custom_placeholders
...
Introduce experimental support for CUSTOM PLACEHOLDERS
2022-07-29 18:47:10 +02:00
Mike Penz and GitHub
74dd88f60c
- add logic which cleans up custom placeholders with the [] syntax which were not matched
2022-07-29 16:40:39 +00:00
Mike Penz and GitHub
fba9cdb51d
- expand custom placeholders to the global template
...
- introuce capability of accessing and referencing custom placeholders of PRs in the global template
```
${{CUSTOM_PLACEHOLDER[0]}}
${{CUSTOM_PLACEHOLDER[*]}}
```
- introduce new testcase checking the custom placeholder functionality
2022-07-29 16:11:14 +00:00
Mike Penz and GitHub
7b1021454a
- introduce capability for custom placeholders also to the global template
...
- introduce new convenient functions to handle this
2022-07-29 14:54:45 +00:00
Mike Penz and GitHub
15a108d43e
- introduce ES2021.String for replaceAll
...
- expand Configuration with `custom_placeholders` configuration
- custom placeholders allow to extract values of placeholders and then use these in templates
- refactor replacing PR template values
2022-07-29 14:29:50 +00:00
Mike Penz and GitHub
2fe4b852d3
Merge pull request #836 from mikepenz/feature/reformat_src
...
Reformat source
2022-07-29 16:00:32 +02:00
Mike Penz and GitHub
b1ea770a88
- reformat source - lineLength 120
2022-07-29 13:48:53 +00:00
Mike Penz and GitHub
f0d418bd0c
Merge pull request #834 from mikepenz/feature/dependency_upgrades_20220729
...
Update dependencies | `@types/node`
2022-07-29 13:18:48 +02:00
Mike Penz and GitHub
72b4e5f1ef
- update dependencies
...
```
"@types/node": "^18.6.1",
```
2022-07-29 11:11:02 +00:00
Mike Penz and GitHub
8dddfc270f
Merge pull request #833 from mikepenz/feature/config_json_in_yml
...
Provide configuration as string in `ci.yml`
2022-07-29 11:47:51 +02:00
Mike Penz
c33f3467a2
- cancel actions on concurrent runs
2022-07-29 11:45:38 +02:00
Mike Penz and GitHub
3728477799
- test capability of providing json in yml
2022-07-29 09:34:33 +00:00
Mike Penz and GitHub
f55f49981d
- adjust placeholder for yml as ${{}} is reserved
2022-07-29 09:30:57 +00:00
Mike Penz and GitHub
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 and GitHub
ffcbb8e311
Merge pull request #831 from mikepenz/feature/830
...
Add `branch` name to `PullRequestInfo`
2022-07-29 10:48:23 +02:00
Mike Penz
c4a63d86ad
- introduce branch (head ref) as data point in the PullRequestInfo object
...
- expand extractor to allow using the `branch` -> e.g. to extract the label
2022-07-27 17:19:50 +02:00
Mike Penz and GitHub
1c0b89a38e
Fix README template sections
2022-07-27 16:55:31 +02:00
Mike Penz and GitHub
0e96047683
Merge pull request #827 from mikepenz/feature/fetch_release_information
...
Fetch GitHub release information
2022-07-26 17:01:01 +02:00
Mike Penz
5f32f47cd6
- update README with new placeholder items useable
2022-07-26 16:54:24 +02:00
Mike Penz
d2a15abb64
- drop support for tag SHA as in most cases this information is not available at the moment
...
- introduce new testcase to verify `DAYS_SINCE` calculation
- fix wrong log messages using the `TagInfo` object instead the name
- add additional log messages
2022-07-26 16:48:06 +02: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 and GitHub
09ae38aa7f
Merge pull request #826 from mikepenz/feature/output_commitmode
...
Also set diff information output for `commitMode`
2022-07-26 16:42:44 +02:00
Mike Penz and GitHub
e28cff0b4c
Merge pull request #825 from mikepenz/feature/local_debugging_testing
...
Include `Local Testing` section in README
2022-07-26 16:20:13 +02:00
Mike Penz
2fd6f64773
- ensure output is properly set also in commitMode
2022-07-26 14:42:20 +02:00
Mike Penz
0253e21cdc
- add note on local testing / debugging via Visual Code
2022-07-26 14:37:20 +02:00
Mike Penz and GitHub
12f54a4f9b
Merge pull request #824 from mikepenz/feature/dependency_updates_20220726
...
Update dependencies | Webpack 5.74.0
2022-07-26 14:30:38 +02:00
Mike Penz
9e31f53866
- update dependencies
...
```
"webpack": "^5.74.0"
```
```
"@types/node": "^18.6.1",
"@typescript-eslint/parser": "^5.31.0",
"eslint-plugin-github": "^4.3.7",
```
2022-07-26 14:22:18 +02:00
Mike Penz and GitHub
99ea554518
Merge pull request #823 from mikepenz/feature/diff_info_placeholders
...
Introduce new placeholders - Changed files, Additions, Deletions, Changes, Commits
2022-07-26 14:21:48 +02:00
Mike Penz
55354469a8
- introduce new additional placeholders useable for building the changelog
...
| **Placeholder** | **Description** | **Empty** |
|----------------------------|----------------------------------------------------------------------------------------------------|:---------:|
| `${{CHANGED_FILES}}` | The count of changed files. | |
| `${{ADDITIONS}}` | The count of code additions (lines). | |
| `${{DELETIONS}}` | The count of code deletions (lines). | |
| `${{CHANGES}}` | The count of total changes (lines). | |
| `${{COMMITS}}` | The count of commits in this release. | |
- restructure project to return additional diff related information along the individual commits
- update testcases to verify functionality of new placeholders
2022-07-26 14:14:16 +02:00
Mike Penz and GitHub
2b8bedc47a
Merge pull request #818 from mikepenz/feature/dependency_updates_20220722
...
Dependency updates 2022.07.22
2022-07-22 09:56:23 +02:00
Mike Penz
131ff98d22
- dependency updates
...
```
"@octokit/rest": "^19.0.3",
```
```
"@types/jest": "^28.1.6",
"@types/node": "^18.0.6",
"@typescript-eslint/parser": "^5.30.7",
"eslint": "^8.20.0",
"eslint-plugin-jest": "^26.6.0",
"jest": "^28.1.3",
"jest-circus": "^28.1.3",
"ts-jest": "^28.0.7",
```
2022-07-22 09:49:10 +02:00
Mike Penz and GitHub
401210947f
Merge pull request #807 from mikepenz/feature/upgrade_ci_20220708
...
Improve CI pipelines
2022-07-08 11:01:15 +02:00
Mike Penz and GitHub
8761777ada
Merge pull request #806 from mikepenz/feature/dependency_upgrades_20220708
...
Dependency upgrades - 2022.07.08
2022-07-08 10:54:35 +02:00
Mike Penz
ca96efe4c6
- upgrade CI pipelines
...
- introduce dist check
2022-07-08 10:54:25 +02:00