Skip to content

Commit

Permalink
trigger push build only on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pk044 committed Jan 20, 2021
1 parent e23c9df commit 521f1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Continuous Integration

on:
push:
branches: ['master']
pull_request:
branches: ['*']
env:
Expand All @@ -16,7 +17,6 @@ jobs:
scala: [2.12.12, 2.13.3]
java: [adopt@1.8]
runs-on: ${{ matrix.os }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'theiterators/kebs'
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
Expand Down

0 comments on commit 521f1b9

Please sign in to comment.