Prevent double-build in PR's

This commit is contained in:
Rico Sta. Cruz 2024-03-30 18:53:37 +11:00
parent d62bbeb024
commit 641915c80c
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
name: Run tests
on: [push, pull_request]
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build:
runs-on: ubuntu-latest