aboutsummaryrefslogblamecommitdiffstats
path: root/.github/workflows/presubmit.yml
blob: 5656011c47d1395ab7d10a397dc24af7872217e3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                                                

                                                                              





                                                        


                        

               












                                                
# //.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, when they are used as
# the head for a pull request against the default tree. For configuring the
# steps that occur after a push to the trunk branch, see
# `//.github/workflows:trunk.yml`.
---
name: presubmit

on:
  merge_group:
    types:
      - checks_requested
  pull_request:
    branches:
      - 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