diff --git a/.github/workflows/ci-ignore.yml b/.github/workflows/ci-ignore.yml new file mode 100644 index 0000000..e1a336d --- /dev/null +++ b/.github/workflows/ci-ignore.yml @@ -0,0 +1,11 @@ +name: ci +on: + pull_request: + ignore-paths: + - '**.proto' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46738f2..ec4cf54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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.