Browse Source

Run workflow on pull request

Mohammad Abdolirad 2 years ago
parent
commit
c3df0d8544
1 changed files with 4 additions and 3 deletions
  1. 4 3
      .github/workflows/main.yml

+ 4 - 3
.github/workflows/main.yml

@@ -1,9 +1,10 @@
-name: build
+name: Dockage CI
 
 on:
   push:
-    branches:
-      - 'master'
+    branches: [ "master" ]
+  pull_request:
+    branches: [ "*" ]
 
 jobs:
   docker: