Update CI workflow to build fine on PRs from forks
@@ -1,6 +1,10 @@
name: Continuous integration
-on: [push]
+on:
+ push:
+ branches:
+ - main
+ pull_request:
jobs:
lint: