Skip to content

spectral-organization-ci #94

spectral-organization-ci

spectral-organization-ci #94

name: spectral-organization-ci
# Controls when the action will run.
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
schedule:
- cron: "*/6 0 * * *"
workflow_dispatch:
jobs:
build:
name: Spectral-organization-ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- shell: bash
env:
SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }}
run: |
curl -L "https://get.spectralops.io/latest/x/sh?dsn=${{ secrets.SPECTRAL_DSN }}" | sh
$HOME/.spectral/spectral scan --include-tags base,audit3,iac