From 246fbe935fbf7998d225444fd30c96566c221bfb Mon Sep 17 00:00:00 2001 From: "trunk-open-pr-bot[bot]" <131314627+trunk-open-pr-bot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:47:24 -0700 Subject: [PATCH 1/2] Upgrade trunk to 1.22.0 (#237) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Trunk](https://static.trunk.io/assets/trunk_action_upgrade_banner.png)](https://trunk.io) cli upgraded: 1.21.0 → 1.22.0 1 plugin was upgraded: - trunk-io/plugins v1.4.5 → v1.5.0 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com> --- .trunk/trunk.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index e0ec9c63..44e3ac5d 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -1,12 +1,12 @@ version: 0.1 cli: - version: 1.21.0 + version: 1.22.0 plugins: sources: - id: trunk - ref: v1.4.5 + ref: v1.5.0 uri: https://github.com/trunk-io/plugins - id: configs ref: v1.0.4 From bd686325615e9cf5a4ef98372ba94a472f9b5238 Mon Sep 17 00:00:00 2001 From: Maverick Chung Date: Tue, 7 May 2024 17:18:59 -0700 Subject: [PATCH 2/2] feat: add option for Signed-Off-By line in upgrade action (#238) Adds support for adding a `Signed-Off-By` line to commits created by the upgrade action, as requested [here](https://github.com/trunk-io/plugins/issues/764). Tested in this repo, you can see the commit [here](https://github.com/trunk-io/trunk-action/pull/239/commits/cc7d39d228ff2e69e6d44e6f0a5449cf9d99676b). --- upgrade/action.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/upgrade/action.yaml b/upgrade/action.yaml index 2db4f3ca..b45c0ab3 100644 --- a/upgrade/action.yaml +++ b/upgrade/action.yaml @@ -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: @@ -122,3 +127,4 @@ runs: delete-branch: true reviewers: ${{ inputs.reviewers }} token: ${{ inputs.github-token }} + signoff: ${{ inputs.signoff }}