Removes inline scripts and inline styles to make it compatible with the newly added security headers #2923
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint code | |
on: | |
push: | |
pull_request: | |
branches-ignore: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b | |
with: | |
python-version: 3.9 | |
- name: Run pre-commit | |
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 |