File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 487487 required : false
488488 type : boolean
489489 default : false
490- run-bundle-install : # Added to support projects without committed Gemfile.lock (e.g., chef-cli)
490+ run-bundle-install :
491491 description : ' Run bundle install before scanning to generate Gemfile.lock at runtime'
492492 required : false
493493 type : boolean
@@ -899,13 +899,8 @@ jobs:
899899 if : ${{ inputs.language == 'ruby' && inputs.run-bundle-install == true }}
900900 run : |
901901 echo "Generating Gemfile.lock for Grype scan..."
902- # Change to ruby-app-directory if specified, otherwise stay in root
903- if [ -n "${{ inputs.ruby-app-directory }}" ]; then
904- echo "Changing to Ruby app directory: ${{ inputs.ruby-app-directory }}"
905- cd "${{ inputs.ruby-app-directory }}"
906- fi
907902 bundle install
908- echo "Gemfile.lock generated successfully at: $(pwd)/Gemfile.lock "
903+ echo "Gemfile.lock generated successfully"
909904
910905 - name : Determine severity threshold
911906 id : severity
You can’t perform that action at this time.
0 commit comments