1# //.github/workflows:presubmit.yml
2#
3# This file exists to define the steps executed for a push to each tree matching
4# the pattern `refs/heads/*`, excluding the default ref, when they are used as
5# the head for a pull request against the default tree. For configuring the
6# steps that occur after a push to the trunk branch, see
7# `//.github/workflows:trunk.yml`.
8---
9name: presubmit
10
11on:
12 merge_group:
13 types:
14 - checks_requested
15 pull_request:
16 branches:
17 - master
18
19concurrency:
20 group: ${{ github.ref }}
21 cancel-in-progress: true
22
23jobs:
24 build-and-test:
25 uses: ./.github/workflows/build-and-test.yml
26 secrets: inherit