...

Text file src/cloud.google.com/go/.github/workflows/owlbot_validation.yml

Documentation: cloud.google.com/go/.github/workflows

     1---
     2name: owlbot_validation
     3on:
     4  pull_request:
     5    paths:
     6      - 'internal/postprocessor/config.yaml'
     7      - '.github/.OwlBot.yaml'
     8
     9permissions:
    10  contents: read
    11
    12jobs:
    13  validate:
    14    runs-on: ubuntu-latest
    15    steps:
    16    - uses: actions/checkout@v4
    17      with:
    18        fetch-depth: 1
    19    - uses: actions/setup-go@v5
    20      with:
    21        go-version: 1.21.x
    22    - run: |
    23        git clone -b master --single-branch --depth=1 https://github.com/googleapis/googleapis.git 
    24        go run ./internal/postprocessor validate -googleapis-dir=./googleapis

View as plain text