From aa07c81df3db52cd873e2087287942f837a53943 Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Mon, 29 Jul 2024 15:11:08 +0100 Subject: [PATCH] (feat) - Add ruby version input to mend --- .github/workflows/tooling_mend_ruby.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tooling_mend_ruby.yml b/.github/workflows/tooling_mend_ruby.yml index 58e2a01..2b6f1e6 100644 --- a/.github/workflows/tooling_mend_ruby.yml +++ b/.github/workflows/tooling_mend_ruby.yml @@ -14,6 +14,11 @@ on: product_name: default: 'DevX' type: string + ruby_version: + description: "The target Ruby version." + required: false + default: "2.7" + type: "string" env: MEND_API_KEY: ${{ secrets.MEND_API_KEY != '' && secrets.MEND_API_KEY || inputs.api_key }} @@ -47,7 +52,7 @@ jobs: if: success() uses: "ruby/setup-ruby@v1" with: - ruby-version: 2.7 + ruby-version: ${{ inputs.ruby_version }} - name: "bundle lock" if: success()