Skip to content

[Snyk-dev] Security upgrade sanitize-html from 1.4.2 to 1.11.4 #10

[Snyk-dev] Security upgrade sanitize-html from 1.4.2 to 1.11.4

[Snyk-dev] Security upgrade sanitize-html from 1.4.2 to 1.11.4 #10

name: security-headers-check
on:
pull_request:
types: [opened]
jobs:
security-headers-check:
runs-on : ubuntu-latest
name : Check headers for violations of security best practises
steps:
- name : Security headers check
id : headerscheck
uses: AudreyBudryte2/security-headers@v2
with:
url: 'http://google.com'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Comment results of security headers check
uses: mb2dev/[email protected]
with:
message: "${{steps.headerscheck.outputs.header-issues}}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}