Run workflow either on PR events, or branch pushes, not both

This commit is contained in:
Daniel Markstedt 2023-11-01 22:13:04 +09:00
parent 6a48895d93
commit d388c3beeb
1 changed files with 3 additions and 8 deletions

View File

@ -3,11 +3,9 @@ name: Web Tests/Analysis
on:
workflow_dispatch:
push:
paths:
- 'python/web/**'
- 'python/common/**'
- '.github/workflows/web.yml'
- 'easyinstall.sh'
branches:
- 'develop'
- 'main'
pull_request:
paths:
- 'python/web/**'
@ -19,9 +17,6 @@ on:
- opened
- synchronize
- reopened
branches:
- 'develop'
- 'main'
jobs:
backend_checks: