瀏覽代碼

Don't run CI twice (on push AND pull request)

yhirose 11 月之前
父節點
當前提交
3c4b96024f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/abidiff.yaml

+ 1 - 0
.github/workflows/abidiff.yaml

@@ -12,6 +12,7 @@ defaults:
 jobs:
   abi:
     runs-on: ubuntu-latest
+    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
     container:
       image: debian:testing