Skip to content

Commit

Permalink
feat: add option for Signed-Off-By line in upgrade action (#238)
Browse files Browse the repository at this point in the history
Adds support for adding a `Signed-Off-By` line to commits created by the
upgrade action, as requested
[here](trunk-io/plugins#764).

Tested in this repo, you can see the commit
[here](cc7d39d).
  • Loading branch information
puzzler7 committed May 8, 2024
1 parent 246fbe9 commit bd68632
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions upgrade/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ inputs:
required: false
default: false

signoff:
description: A boolean to add a Signed-off-by line to the commit message
required: false
default: false

runs:
using: composite
steps:
Expand Down Expand Up @@ -122,3 +127,4 @@ runs:
delete-branch: true
reviewers: ${{ inputs.reviewers }}
token: ${{ inputs.github-token }}
signoff: ${{ inputs.signoff }}

0 comments on commit bd68632

Please sign in to comment.