Skip to content

Commit

Permalink
Disable Bash Glob Expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs committed Mar 11, 2024
1 parent 39ac1ad commit fccbf52
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ jobs:
# Can the action run successful against the repo
- name: Self test action
uses: ./
with:
ignore-globs: |
**/one/*.cs
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
Expand Down
9 changes: 1 addition & 8 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,7 @@ else
Idopts="--ignore-rule-ids $6"
fi

echo $1
echo $2
echo $3
echo $4
# Prevent glob expansion, fix ignore-globs parsing
set -o noglob
echo $5
echo $6
echo $7
echo $8

/tools/devskim analyze --source-code "$ScanTarget" --output-file "$OutputDirectory/$3" $8 $Opts --ignore-globs $5 $Idopts $OptionsJsonArg
1 change: 0 additions & 1 deletion files/one/md5.cs

This file was deleted.

1 change: 0 additions & 1 deletion files/two/http.cs

This file was deleted.

0 comments on commit fccbf52

Please sign in to comment.