diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 713ffe2..6f69810 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: java: [ '17' ] os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} - if: gitea.ref == 'refs/heads/master' + if: gitea.ref == 'refs/heads/master' && gitea.event_name == 'push' needs: build steps: - name: checkout repository