presubmit.yml

 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  pull_request:
13    branches:
14      - master
15
16concurrency:
17  group: ${{ github.ref }}
18  cancel-in-progress: true
19
20jobs:
21  lint:
22    uses: ./.github/workflows/lint.yml
23
24  build-and-test:
25    uses: ./.github/workflows/build-and-test.yml
26    secrets: inherit