aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/presubmit.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/presubmit.yml')
-rw-r--r--.github/workflows/presubmit.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml
new file mode 100644
index 00000000..df2130a0
--- /dev/null
+++ b/.github/workflows/presubmit.yml
@@ -0,0 +1,25 @@
+# //.github/workflows:presubmit.yml
+#
+# This file exists to define the steps executed for a push to each tree matching
+# the pattern `refs/heads/*`, excluding the default ref. For configuring the
+# steps that occur after a push to the trunk branch, see
+# `//.github/workflows:trunk.yml`.
+---
+name: presubmit
+
+on:
+ push:
+ branches-ignore:
+ - master
+
+concurrency:
+ group: ${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ lint:
+ uses: ./.github/workflows/lint.yml
+
+ build-and-test:
+ uses: ./.github/workflows/build-and-test.yml
+ secrets: inherit