[Snyk-dev] Fix for 10 vulnerabilities #11
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: 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 }} |