177 Commits

Author SHA1 Message Date
yoshi-code-bot
8bb7a2ed0f chore: build dist (#1186)
Build dist
2026-02-20 08:19:57 +00:00
yoshi-code-bot
e5c2aa4f6a chore: build dist (#1159)
Build dist
2025-10-09 11:34:06 +00:00
yoshi-code-bot
4cd397a333 chore: build dist (#1152)
Build dist
2025-09-16 09:04:21 +00:00
Vincent Lee
535c4130c1 fix: changelog-host parameter ignored when using manifest configuration (#1151)
## Problem
The `changelog-host` action parameter was being ignored when using
manifest configuration files (`release-please-config.json`). This caused
changelog links to always point to `github.com` instead of the specified
GitHub Enterprise Server URL, breaking changelog functionality for
GitHub Enterprise users.

## Root Cause
The original implementation attempted to pass `changelogHost` through
`manifestOverrides` to the `Manifest.fromManifest()` method. However,
`changelogHost` is not part of the `ManifestOptions` interface - it
belongs to the per-path `ReleaserConfig` interface. This architectural
mismatch meant the parameter was silently ignored.

## Solution
Modified the `loadOrBuildManifest()` function to:
1. Load the manifest normally without trying to pass `changelogHost`
through manifest options
2. Post-process the loaded manifest to override `changelogHost` for all
configured paths when the action input is provided and differs from the
default GitHub URL

## Technical Details
- **Before**: Attempted to use `manifestOverrides.changelogHost`
(invalid approach)
- **After**: Directly modifies
`manifest.repositoryConfig[path].changelogHost` for each path after
manifest loading
- Only applies the override when `changelog-host` input is provided and
differs from `https://github.com`
- Preserves existing behavior for config-less operation (single package
repos)

## Testing
- Updated existing test to verify the new implementation approach
- Maintains backward compatibility with all existing functionality
- Fixes the specific issue where GitHub Enterprise users couldn't
customize changelog host URLs

## Impact
This fix enables GitHub Enterprise Server users to properly use the
`changelog-host` parameter with manifest configurations, ensuring
changelog links point to their custom Git hosting instead

---------

Co-authored-by: Vincent Lee <vincentclee@users.noreply.github.com>
2025-09-16 08:10:05 +00:00
Jeff Ching
f07192c046 deps: update release-please to 17.1.2 (#1137)
The Octokit update requires providing/mocking a fetch implementation
(which is necessary because we use nock for http mocking)

Fixes #1136
2025-08-20 18:43:09 +00:00
yoshi-code-bot
dcfad47c69 chore: build dist (#1095)
Build dist
2025-03-07 18:53:58 +00:00
yoshi-code-bot
e98f931522 chore: build dist (#1084)
Build dist
2025-02-27 17:44:03 +00:00
yoshi-code-bot
4a74f24a88 chore: build dist (#1038)
Build dist
2024-10-02 15:33:44 +00:00
yoshi-code-bot
36f841ca83 chore: build dist (#1031)
Build dist
2024-09-18 19:51:19 +00:00
yoshi-code-bot
53ea3de120 chore: build dist (#1010)
Build dist
2024-06-10 17:24:34 +00:00
yoshi-code-bot
d637db70f7 chore: build dist (#1008)
Build dist
2024-06-10 16:57:26 +00:00
yoshi-code-bot
e38465df9f chore: build dist (#993)
Build dist
2024-05-14 17:40:29 +00:00
Google GitHub Actions Bot
733a6d752f chore: build dist (#956)
Build dist PR
2024-03-11 19:28:45 +00:00
Google GitHub Actions Bot
4862c13f8c chore: build dist (#954)
Build dist PR
2024-03-11 18:56:48 +00:00
Google GitHub Actions Bot
8bf1247e18 chore: build dist (#908)
Build dist PR
2023-12-18 16:15:16 -08:00
Google GitHub Actions Bot
6908db2720 chore: build dist (#898)
Build dist PR
2023-12-07 18:42:35 +00:00
Google GitHub Actions Bot
b067e38d2f chore: build dist (#891)
Build dist PR
2023-12-01 12:05:40 -08:00
Jeff Ching
19431a1126 fix: restore include-component-in-tag default (false) (#888)
v3 had this option and must be configurable or at least set to `false`
so that the default behavior is to create a plain `v1.2.3` tag (without
the component name prefixed).

Found this while dogfooding our own usage of the action (in this repo).
2023-12-01 11:37:56 -08:00
Jeff Ching
546de4e1ec build: actually run main() in index.ts (#882)
When converting to typescript we didn't call the main() method if
index.ts/js is invoked directly.
2023-11-30 12:33:12 -08:00
Google GitHub Actions Bot
d36178cd64 chore: build dist (#880)
Build dist PR
2023-11-29 13:12:15 -08:00
Jeff Ching
9cf05a09b1 feat!: v4 release (#871)
Any advanced configuration should be done via a
release-please-config.json.

Fixes #859
Fixes #858
Fixes #857
Fixes #852

feat!: remove most configuration options in favor of manifest
configuration to configure the release-please-action
refactor!: rewrite in typescript
feat!: remove command option in favor of setting `release-type` and
`skip-github-release`/`skip-github-pull-request`
feat!: run on node20
deps!: upgrade release-please to v16
2023-11-29 13:09:28 -08:00
Jeff Ching
910801217b fix(deps): bump dependency versions (#849)
ran `npm audit fix`
2023-11-02 12:36:13 -07:00
Sébastien Règne
c3f4481840 chore: fix build (digital envelope routines) (#837)
Fix the
[build](https://github.com/google-github-actions/release-please-action/actions/runs/6384766312/job/17328084659):

```
> release-please-action@3.7.12 build
> ncc build index.js

ncc: Version 0.27.0
ncc: Compiling file index.js
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at hashOf (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:1:3253134)
    at ncc (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:1:3256648)
    at runCmd (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:51537)
    at 819 (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:48344)
    at __webpack_require__ (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55043)
    at /home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55194
    at /home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55220
    at Object.<anonymous> (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js:8:28) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
```

I think the problem is linked to the [Node version
upgrade](https://github.com/google-github-actions/release-please-action/pull/835)
and the [OpenSSL
version](https://nodejs.org/fr/blog/vulnerability/openssl-november-2022).
The `@vercel/ncc` upgrade fixes the problem because they
[replaced](https://github.com/vercel/ncc/pull/868) a deprecated hash
algorithm with _sha256_.
2023-11-01 11:05:01 -07:00
Google GitHub Actions Bot
1c7728c18b chore: build dist (#827)
Build dist PR
2023-09-28 10:06:33 -07:00
Google GitHub Actions Bot
48f987371f chore: build dist (#826)
Build dist PR
2023-09-11 11:34:50 -07:00
Google GitHub Actions Bot
d591e52635 chore: build dist (#799)
Build dist PR
2023-07-20 08:45:42 -07:00
Google GitHub Actions Bot
a1aeb30206 chore: build dist (#782)
Build dist PR
2023-06-23 11:14:29 -07:00
Google GitHub Actions Bot
221cfd7fc8 chore: build dist (#764)
Build dist PR

Co-authored-by: Jeff Ching <chingor@google.com>
2023-05-25 19:05:01 +00:00
Google GitHub Actions Bot
5f9ebd2844 chore: build dist (#758)
Build dist PR
2023-04-11 08:54:29 -07:00
Google GitHub Actions Bot
51cf0de9b9 chore: build dist (#751)
Build dist PR
2023-04-10 11:12:07 -07:00
Google GitHub Actions Bot
05f40328a0 chore: build dist (#739)
Build dist PR
2023-03-28 12:29:29 -07:00
Google GitHub Actions Bot
5c7e88a484 chore: build dist (#732)
Build dist PR
2023-03-07 10:19:55 -08:00
Google GitHub Actions Bot
4e9dcc58bb chore: build dist (#730)
Build dist PR
2023-03-07 09:40:05 -08:00
Google GitHub Actions Bot
99daaf511f chore: build dist (#716)
Build dist PR
2023-02-13 17:00:58 +00:00
Google GitHub Actions Bot
a57fbf26b0 chore: build dist (#696)
Build dist PR
2023-01-18 12:13:12 -08:00
Google GitHub Actions Bot
c9a1c39b1a chore: build dist (#691)
Build dist PR
2023-01-13 21:56:23 +00:00
Google GitHub Actions Bot
8ab9ca179d chore: build dist (#677)
Build dist PR
2022-12-13 12:04:27 -08:00
Google GitHub Actions Bot
264b85cc6b chore: build dist (#675)
Build dist PR
2022-12-08 08:51:52 -08:00
Google GitHub Actions Bot
e6d565feb2 chore: build dist (#673)
Build dist PR
2022-12-08 08:49:16 -08:00
Google GitHub Actions Bot
81a2512e00 chore: build dist (#665)
Build dist PR
2022-11-23 09:09:16 -08:00
Julian Li
714f07f3ae feat: support proxy configuration (#621)
support proxy configuration
2022-11-08 18:03:38 -08:00
Google GitHub Actions Bot
27bceafeb6 chore: build dist (#659)
chore: build dist release-please-action
2022-11-08 10:57:40 -08:00
Google GitHub Actions Bot
c937c73db2 chore: build dist (#646)
chore: build dist release-please-action
2022-10-26 09:36:51 -07:00
Google GitHub Actions Bot
6cb7764bc0 chore: build dist (#609)
chore: build dist release-please-action
2022-09-08 21:16:25 +00:00
Google GitHub Actions Bot
2840bca340 chore: build dist (#579)
chore: build dist release-please-action
2022-08-22 09:55:03 -07:00
Google GitHub Actions Bot
c196e90fb5 chore: build dist (#571)
chore: build dist release-please-action

Co-authored-by: Jeff Ching <chingor@google.com>
2022-08-16 16:37:01 +00:00
Google GitHub Actions Bot
e033133436 chore: build dist (#570)
chore: build dist release-please-action
2022-08-16 09:28:52 -07:00
Google GitHub Actions Bot
448897126a chore: build dist (#567)
chore: build dist release-please-action
2022-08-15 14:16:06 -07:00
Google GitHub Actions Bot
6a05e01ec0 chore: build dist (#560)
chore: build dist release-please-action
2022-08-15 19:46:47 +00:00
Google GitHub Actions Bot
51a2017af2 chore: build dist (#556)
chore: build dist release-please-action
2022-08-10 11:29:16 -07:00