diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbfc697f..0ef61267 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 1f939369..052112e2 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