feat(jave): add CRLF injection rule (CWE-93) #530
Workflow file for this run
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: Linting | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint Rules | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "14" | |
cache: "npm" | |
cache-dependency-path: "**/.github/workflows/*.yml" | |
- name: Lint YML | |
run: npx prettier -c "./rules/**/*.yml" | |
- name: Validate Schema | |
run: scripts/validate.sh |