Kaynağa Gözat

[Infrastructure] Set up a dependent PR check (#343)

https://github.com/marketplace/actions/pr-dependency-check

Fixes #337
Dave Abrahams 5 yıl önce
ebeveyn
işleme
de6995c8c3
1 değiştirilmiş dosya ile 16 ekleme ve 0 silme
  1. 16 0
      .github/workflows/dependent-pr.yaml

+ 16 - 0
.github/workflows/dependent-pr.yaml

@@ -0,0 +1,16 @@
+# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
+# Exceptions. See /LICENSE for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+
+name: Dependencies
+
+on: [pull_request]
+
+jobs:
+  check_dependencies:
+    runs-on: ubuntu-latest
+    name: check PRs landed
+    steps:
+      - uses: gregsdennis/dependencies-action@main
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}