Sfoglia il codice sorgente

cicd: run build-snapshot against prs

jamesread 2 anni fa
parent
commit
6b2bc0adc0
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      .github/workflows/build-snapshot.yml

+ 4 - 2
.github/workflows/build-snapshot.yml

@@ -2,8 +2,10 @@
 name: "Build Snapshot"
 
 on:
-  - push
-  - workflow_dispatch
+  push:
+  workflow_dispatch:
+  pull_request:
+    branches: [main]
 
 jobs:
   build-snapshot: