diff options
-rw-r--r-- | .github/workflows/ci-build.yml (renamed from .github/workflows/pr-build.yml) | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/pr-build.yml b/.github/workflows/ci-build.yml index 67a9c9be..843f0dc0 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/ci-build.yml @@ -1,6 +1,8 @@ -name: pr-build +name: ci-build on: + push: + branches-ignore: [ main ] pull_request: branches: [ main ] @@ -8,7 +10,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v2 - name: Set up JDK 15 uses: actions/setup-java@v1.4.3 |