Skip to content

Commit

Permalink
added shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
LelouchFR committed May 26, 2024
1 parent 6335105 commit b0484c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

- name: check icons formatting
run: |
!#/usr/bin/bash
has_img=$(grep -rl "data:image/png;base64" ./assets/*.svg)
if [ -z "$has_img" ]; then
echo "no image found in svg"
Expand All @@ -29,6 +30,7 @@ jobs:
fi
- name: check for xss attack
run: |
!#/usr/bin/bash
has_js_tag=$(grep -rl "script" ./assets/*.svg)
if [[ -z "$has_js_tag" ]]; then
echo "no xss attack found"
Expand Down

0 comments on commit b0484c0

Please sign in to comment.