feat: extend props and fix spread operator for typography components #19
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: SAST (Static Application Security Testing) | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
polaris: | |
name: polaris / code-scan | |
continue-on-error: true | |
runs-on: ubuntu-latest | |
if: (github.repository_owner == 'contentful') && (endsWith(github.actor, '[bot]') == false) | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Synopsys Polaris | |
uses: contentful/polaris-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
polaris_url: ${{ secrets.POLARIS_SERVER_URL }} | |
polaris_access_token: ${{ secrets.POLARIS_ACCESS_TOKEN }} | |
debug: true | |
polaris_command: analyze -w --coverity-ignore-capture-failure | |
security_gate_filters: '{ "severity": ["High", "Medium"] }' | |
fail_on_error: false | |
report_url: "https://github.com/contentful/security-tools-config/issues/new?title=False%20positive%20in%20Polaris" |