Skip to content

Commit

Permalink
feat: add ability to skip testmon
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Jan 31, 2024
1 parent 11f24e0 commit 1fa3ac5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/api-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:
run: make django-make-migrations

- name: Restore cached testmon data
if: ${{ github.event_name == 'pull_request' }}
if:
${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip-testmon')
}}
id: cache-testmon-restore
uses: actions/cache/restore@v3
with:
Expand Down

0 comments on commit 1fa3ac5

Please sign in to comment.