name: Master
on:
  push:
    branches: [ master ]

env:
  SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }}

jobs:
  build:
    name: Spectral
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Install
        uses: spectralops/spectral-github-action@v1
        with:
          spectral-dsn: ${{ secrets.SPECTRAL_DSN }}
      - name: Scan
        run: spectral scan --ok --fail-on-error --nosend --exclude-tags=warning,info

Enable SpectralOps Secret Scan as a GitHub Action
Enable SpectralOps Secret Scan as a GitHub Action

We use SpectralOps security scanning tool that helps use find secrets in our codebase. More information on SpectralOps secret scanning - https://corp.quip.com/g0wzAwf3M6GP/SpectralOps-FAQ.

Project channel for SpectralOps - #proj-spectralops-for-slack