Runing analysis only once for PR

This commit is contained in:
Zoe Roux 2021-07-13 17:47:14 +02:00
parent 31da4bb692
commit 8255c2f800
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ jobs:
analysis:
name: Static Analysis
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- uses: actions/checkout@v2
with:

View File

@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
container: mcr.microsoft.com/dotnet/sdk:5.0
services:
postgres: