Skip to content

Commit

Permalink
Add github token (viamrobotics#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
njooma authored Mar 4, 2024
1 parent 0bfa6e4 commit 2c72dc5
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/proto-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@ on:
workflow_dispatch:
workflow_call:
pull_request:
branches: ['main']
branches: ["main"]
push:

jobs:
proto-test:
name: Test For Proto Lint and Breaking Changes
timeout-minutes: 5
runs-on: [self-hosted, x64]
container:
image: ghcr.io/viamrobotics/canon:amd64-cache
options: --platform linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
# Run all Lint runs
- uses: bufbuild/buf-lint-action@v1
# Run breaking change detection against the `main` branch
- uses: bufbuild/buf-breaking-action@v1
with:
against: 'https://github.com/viamrobotics/goutils.git#branch=main'
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Run all Lint runs
- uses: bufbuild/buf-lint-action@v1
# Run breaking change detection against the `main` branch
- uses: bufbuild/buf-breaking-action@v1
with:
against: "https://github.com/viamrobotics/goutils.git#branch=main"

0 comments on commit 2c72dc5

Please sign in to comment.