diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca34854..ba4a89c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install and run Spectral CI - uses: ./ + uses: spectralops/spectral-github-action@v2 with: spectral-dsn: ${{ secrets.SPECTRAL_DSN }} spectral-args: scan --ok @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install and run Spectral Audit - uses: ./ + uses: spectralops/spectral-github-action@v2 with: spectral-dsn: ${{ secrets.SPECTRAL_DSN }} spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install and run Spectral CI - uses: ./ + uses: spectralops/spectral-github-action@v2 with: spectral-dsn: ${{ secrets.SPECTRAL_DSN }} spectral-args: scan --ok @@ -43,7 +43,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install and run Spectral Audit - uses: ./ + uses: spectralops/spectral-github-action@v2 with: spectral-dsn: ${{ secrets.SPECTRAL_DSN }} spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install and run Spectral CI - uses: ./ + uses: spectralops/spectral-github-action@v2 with: spectral-dsn: ${{ secrets.SPECTRAL_DSN }} spectral-args: scan --ok @@ -63,7 +63,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install and run Spectral Audit - uses: ./ + uses: spectralops/spectral-github-action@v2 with: spectral-dsn: ${{ secrets.SPECTRAL_DSN }} spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok