Explorar o código

Update CI workflow to build fine on PRs from forks

Signed-off-by: Guillaume Tardif <[email protected]>
Guillaume Tardif %!s(int64=5) %!d(string=hai) anos
pai
achega
127baa35f2
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      .github/workflows/ci.yml

+ 5 - 1
.github/workflows/ci.yml

@@ -1,6 +1,10 @@
 name: Continuous integration
 name: Continuous integration
 
 
-on: [push]
+on:
+  push:
+    branches:
+      - main
+  pull_request:
 
 
 jobs:
 jobs:
   lint:
   lint: