Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit e7d31db

Browse files
author
Benjamin E. Coe
authored
feat(release-please): now supports large files; introduces fork option (#67)
1 parent c508713 commit e7d31db

6 files changed

Lines changed: 182 additions & 119 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Automate releases with Conventional Commit Messages.
2020
release-please:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: GoogleCloudPlatform/release-please-action@v2.2.0
23+
- uses: GoogleCloudPlatform/release-please-action@v2.3.0
2424
with:
2525
token: ${{ secrets.GITHUB_TOKEN }}
2626
release-type: node
@@ -40,15 +40,16 @@ Automate releases with Conventional Commit Messages.
4040
| `release-type` | What type of project is this a release for? Reference [Release types supported](#release-types-supported); new types of releases can be [added here](https://github.com/googleapis/release-please/tree/master/src/releasers) |
4141
| `package-name` | A name for the artifact releases are being created for (this might be the `name` field in a `setup.py` or `package.json`) |
4242
| `bump-minor-pre-major` | Should breaking changes before 1.0.0 produce minor bumps? Default `No` |
43-
| `--path` | create a release from a path other than the repository's root |
44-
| `--monorepo-tags` | add prefix to tags and branches, allowing multiple libraries to be released from the same repository. |
43+
| `path` | create a release from a path other than the repository's root |
44+
| `monorepo-tags` | add prefix to tags and branches, allowing multiple libraries to be released from the same repository. |
4545
| `changelog-types` | A JSON formatted String containing to override the outputted changlog sections |
4646

4747
| output | description |
4848
|:---:|---|
4949
| `release_created` | `true` if the release was created, `false` otherwise |
5050
| `upload_url` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
5151
| `tag_name` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
52+
| `fork` | Should the PR be created from a fork (does not work with `secrets.GITHUB_TOKEN`) |
5253

5354
### Release types supported
5455

@@ -105,7 +106,7 @@ To output more commit information in the changelog, a JSON formatted String can
105106
release-please:
106107
runs-on: ubuntu-latest
107108
steps:
108-
- uses: GoogleCloudPlatform/release-please-action@v2.2.0
109+
- uses: GoogleCloudPlatform/release-please-action@v2.3.0
109110
with:
110111
token: ${{ secrets.GITHUB_TOKEN }}
111112
release-type: node
@@ -128,7 +129,7 @@ jobs:
128129
release-please:
129130
runs-on: ubuntu-latest
130131
steps:
131-
- uses: GoogleCloudPlatform/release-please-action@v2.2.0
132+
- uses: GoogleCloudPlatform/release-please-action@v2.3.0
132133
id: release
133134
with:
134135
token: ${{ secrets.GITHUB_TOKEN }}

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ inputs:
55
token:
66
description: 'GitHub token for creating and grooming release PRs, e.g., secrets.GITHUB_TOKEN'
77
required: true
8+
fork:
9+
description: 'should the PR be proposed from a fork (does not work with secrets.GITHUB_TOKEN)'
10+
required: false
811
package-name:
912
description: 'name of the distributions releases are being created for, e.g., "name" in package.json, or "setup.py"'
1013
required: true

0 commit comments

Comments
 (0)