فهرست منبع

Run CI on pull requests

If the PR is from an external repo,
the action won't run without approval.
right now we can't run the actions on external PRs.
travisladuke 7 ماه پیش
والد
کامیت
5998f1497a
2فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 4 1
      .github/workflows/build.yml
  2. 1 0
      .github/workflows/validate.yml

+ 4 - 1
.github/workflows/build.yml

@@ -1,4 +1,7 @@
-on: [ push ]
+on:
+  pull_request:
+  push:
+  workflow_dispatch:
 
 jobs:
   build_ubuntu:

+ 1 - 0
.github/workflows/validate.yml

@@ -1,4 +1,5 @@
 on:
+  pull_request:
   push:
   workflow_dispatch: