Merge pull request #144 from ecordell/downloadapi #476
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: "Lint" | |
| on: | |
| push: | |
| branches: | |
| - "!dependabot/*" | |
| - "*" | |
| pull_request: | |
| branches: | |
| - "*" | |
| types: | |
| # This makes the buf checks run again when attributes of the PRs change. | |
| - "ready_for_review" | |
| - "labeled" | |
| - "unlabeled" | |
| # These are the defaults | |
| - "opened" | |
| - "synchronize" | |
| - "reopened" | |
| jobs: | |
| lint: | |
| name: "Lint & Publish Draft/Branch" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| - uses: "authzed/actions/yaml-lint@main" | |
| - uses: "bufbuild/buf-action@v1" | |
| with: | |
| token: "${{ secrets.BUF_REGISTRY_TOKEN }}" | |
| breaking_against: "https://github.com/authzed/api.git#branch=main" |