Skip to content

Commit 6eebc02

Browse files
committed
feat: add ability to skip testmon
1 parent 11f24e0 commit 6eebc02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/api-pull-request.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ jobs:
6868
run: make django-make-migrations
6969

7070
- name: Restore cached testmon data
71-
if: ${{ github.event_name == 'pull_request' }}
71+
if: |
72+
${{ github.event_name == 'pull_request' &&
73+
!contains(github.event.pull_request.labels.*.name, 'skip-testmon') }}
7274
id: cache-testmon-restore
7375
uses: actions/cache/restore@v3
7476
with:

0 commit comments

Comments
 (0)