From 4f80ab54f3f4a9ac83dd4f4fde40f514856beb13 Mon Sep 17 00:00:00 2001 From: Mark Elliot Date: Mon, 20 Nov 2023 20:26:16 -0500 Subject: [PATCH] Update action.yml --- action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/action.yml b/action.yml index 8438439..875dbc8 100644 --- a/action.yml +++ b/action.yml @@ -32,6 +32,8 @@ inputs: default: Auto-update dependencies and plugins label: description: The name of a label to add to the PR + format: + default: false runs: using: composite @@ -45,6 +47,10 @@ runs: - name: Write lockfile shell: bash run: ./gradlew --write-locks + - name: Format + if: inputs.format == 'true' + shell: bash + run: ./gradlew format - name: Create branch and commit changes if: ${{ always() }} shell: bash