Skip to content

Commit c74dfc7

Browse files
committed
check for unsave inline script or styles in CI
1 parent 800e61e commit c74dfc7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,3 +220,6 @@ jobs:
220220
221221
- name: Test with tox
222222
run: tox -e docs,style,readme
223+
224+
- name: check for unsave inline script or styles in templates
225+
run: ! grep -r '\(style=\|onclick=\|<script>\|<style\)' debug_toolbar/templates/

0 commit comments

Comments
 (0)