File: buf.yml

package info (click to toggle)
prometheus 2.42.0%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,628 kB
  • sloc: javascript: 2,423; yacc: 587; sh: 378; lex: 183; makefile: 179
file content (25 lines) | stat: -rw-r--r-- 680 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: buf.build
on:
  push:
    branches:
      - main
jobs:
  buf:
    name: lint and publish
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: bufbuild/buf-setup-action@v1.12.0
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
      - uses: bufbuild/buf-lint-action@v1
        with:
          input: 'prompb'
      - uses: bufbuild/buf-breaking-action@v1
        with:
          input: 'prompb'
          against: 'https://github.com/prometheus/prometheus.git#branch=main,ref=HEAD~1,subdir=prompb'
      - uses: bufbuild/buf-push-action@v1
        with:
          input: 'prompb'
          buf_token: ${{ secrets.BUF_TOKEN }}