Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ You can see an example of this Action [here](https://github.com/SpectralOps/spec
You'll need to provide Spectral dsn. You can do so via the `SPECTRAL_DSN` environment variable. In the below example, the Spectral dsn is retrieved from [GitHub secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets).

```yaml
name: Example action
name: Spectral

on: [push]

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

jobs:
my-job:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down