technote-space / toc-generator

GitHub Actions to generate TOC (Table of Contents)
MIT License
221 stars 29 forks source link

Support signoff commit #360

Closed yu-iskw closed 1 year ago

yu-iskw commented 2 years ago

Please describe your suggestion: 提案の概要

Thank you for the great action.

We use the DCO app so that we accept only sign-off commits. When we manually commit changes, git commit --signoff enables us to create a sign-off commit. Whereas, when we create a commit with toc-generator, actions by the DCO app are always failed due to the lack of sign-off.

https://github.com/apps/dco

Describe the solution you'd like: 考えうる解決方法

I would like to add an inputs of the actions, say about signoff. If signoff is true, toc-generator create and push a sign-off commit.

For instance, the peter-evans/create-pull-request option offers the signoff input. We can control if a commit gets sign-off or not with the input.

Describe alternatives you've considered: 考えうる代替案

I don't have any alternative idea.

Additional context: 補足

image
welcome[bot] commented 2 years ago

:raised_hands: Thanks for opening your first issue here! Be sure to follow the issue template!