Skip to content

Commit

Permalink
Fix safety CLI API key error
Browse files Browse the repository at this point in the history
  • Loading branch information
bilgelm committed Jan 20, 2025
1 parent d314095 commit 5cd45b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,17 @@ jobs:
restore-keys: |
${{ steps.pre-commit-cache.outputs.result }}-
- name: Safety CLI API key
uses: pyupio/safety-action@v1
if: matrix.session == 'safety'
with:
api-key: ${{ secrets.SAFETY_API_KEY }}

- name: Run Nox
run: |
nox --python=${{ matrix.python }}
env:
api-key: ${{ secrets.SAFETY_API_KEY }}

- name: Upload coverage data
if: always() && matrix.session == 'tests'
Expand Down

0 comments on commit 5cd45b3

Please sign in to comment.