diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbfc697f3a65..0ef612678c25 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: Build Project -on: [push, pull_request] +on: + pull_request: + push: + branches: + - master jobs: build: diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 1f9393690d2a..052112e29332 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -1,7 +1,10 @@ name: Code Formatter -on: [push] - +on: + pull_request: + push: + branches: + - master jobs: format: runs-on: ubuntu-latest