diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 1924ffdf..fc1679cb 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -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: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 796d5b8e..65a3646f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: