Only perform Action on the main branch - will prevent test from failing on forks

This commit is contained in:
Wietze 2021-10-25 22:44:05 +01:00
parent 7759811ae5
commit 0063238c23
No known key found for this signature in database
GPG Key ID: E17630129FF993CF

View File

@ -10,6 +10,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v2