Skip to content

Commit

Permalink
run on push too
Browse files Browse the repository at this point in the history
  • Loading branch information
dudash committed Aug 2, 2022
1 parent 1eaf195 commit 9237ded
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main-branch-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: main branch builder
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]

# allow manual runs too
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/main-branch-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: main branch linter
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]

# allow manual runs too
workflow_dispatch:

jobs:
lint-and-check-for-breaking:
lint-the-proto-files:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: bufbuild/[email protected]
Expand Down
16 changes: 16 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: v1
name: ""
deps: []
build:
excludes: []
lint:
use:
- DEFAULT
enum_zero_value_suffix: _UNSPECIFIED
rpc_allow_same_request_response: false
rpc_allow_google_protobuf_empty_requests: false
rpc_allow_google_protobuf_empty_responses: false
service_suffix: Service
breaking:
use:
- FILE

0 comments on commit 9237ded

Please sign in to comment.