Skip to content

Commit 40b1b24

Browse files
authored
Merge pull request #477 from peter-evans/dev
signoff
2 parents 71a37c5 + 64c8d49 commit 40b1b24

File tree

8 files changed

+173
-49
lines changed

8 files changed

+173
-49
lines changed

.github/workflows/cpr-example-command.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
commit-message: Update report
1919
committer: GitHub <[email protected]>
2020
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
21+
signoff: false
2122
title: '[Example] Update report'
2223
body: |
2324
Update report

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ All inputs are **optional**. If not set, sensible defaults will be used.
4545
| `commit-message` | The message to use when committing changes. | `[create-pull-request] automated change` |
4646
| `committer` | The committer name and email address in the format `Display Name <[email protected]>`. Defaults to the GitHub Actions bot user. | `GitHub <[email protected]>` |
4747
| `author` | The author name and email address in the format `Display Name <[email protected]>`. Defaults to the user who triggered the workflow run. | `${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>` |
48+
| `signoff` | Add `Signed-off-by` line by the committer at the end of the commit log message. | `false` |
4849
| `branch` | The pull request branch name. | `create-pull-request/patch` |
4950
| `branch-suffix` | The branch suffix type when using the alternative branching strategy. Valid values are `random`, `timestamp` and `short-commit-hash`. See [Alternative strategy](#alternative-strategy---always-create-a-new-pull-request-branch) for details. | |
5051
| `base` | Sets the pull request base branch. | Defaults to the branch checked out in the workflow. |
@@ -156,7 +157,7 @@ To create a project card for the pull request, pass the `pull-request-number` st
156157

157158
## Reference Example
158159

159-
The following workflow is a reference example that sets all the main inputs.
160+
The following workflow is a reference example that sets many of the main inputs.
160161

161162
See [examples](docs/examples.md) for more realistic use cases.
162163

@@ -180,6 +181,7 @@ jobs:
180181
commit-message: Update report
181182
committer: GitHub <[email protected]>
182183
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
184+
signoff: false
183185
branch: example-patches
184186
title: '[Example] Update report'
185187
body: |

0 commit comments

Comments
 (0)