File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -180,13 +180,20 @@ runs:
180180 run : |
181181 missing_deps=""
182182
183- # Check for required commands
184- for cmd in bash git curl gpg ; do
183+ # Check for always- required commands
184+ for cmd in bash git curl; do
185185 if ! command -v "$cmd" >/dev/null 2>&1; then
186186 missing_deps="$missing_deps $cmd"
187187 fi
188188 done
189189
190+ # Check for gpg only if validation is not being skipped
191+ if [ "${{ inputs.skip_validation }}" != "true" ]; then
192+ if ! command -v gpg >/dev/null 2>&1; then
193+ missing_deps="$missing_deps gpg"
194+ fi
195+ fi
196+
190197 # Report missing required dependencies
191198 if [ -n "$missing_deps" ]; then
192199 echo "Error: The following required dependencies are missing:$missing_deps"
You can’t perform that action at this time.
0 commit comments