mirror of
https://github.com/logos-messaging/waku-proto.git
synced 2026-01-06 16:13:07 +00:00
ci: run workflow only on protobuf file changes
This commit is contained in:
parent
0489f60d56
commit
8eb6a84cfd
11
.github/workflows/ci-ignore.yml
vendored
Normal file
11
.github/workflows/ci-ignore.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
name: ci
|
||||
on:
|
||||
pull_request:
|
||||
ignore-paths:
|
||||
- '**.proto'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: 'echo "No build required"'
|
||||
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -1,12 +1,19 @@
|
||||
name: ci
|
||||
on: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.proto'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: bufbuild/buf-setup-action@v1
|
||||
|
||||
- uses: bufbuild/buf-lint-action@v1
|
||||
|
||||
- uses: bufbuild/buf-breaking-action@v1
|
||||
with:
|
||||
# The 'main' branch of the GitHub repository that defines the module.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user