Skip to content

Commit

Permalink
Merge pull request #102 from puppetlabs/feat-add_ruby_input_mend
Browse files Browse the repository at this point in the history
(feat) - Add ruby version input to mend
  • Loading branch information
david22swan authored Jul 29, 2024
2 parents e06018d + aa07c81 commit b98f1f1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tooling_mend_ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit b98f1f1

Please sign in to comment.