diff --git a/.github/workflows/build-project.yml b/.github/workflows/build-project.yml index e8a7369..0985812 100644 --- a/.github/workflows/build-project.yml +++ b/.github/workflows/build-project.yml @@ -12,10 +12,6 @@ on: branches: - 'main' - 'develop' - pull_request_target: - branches: - - 'main' - - 'develop' jobs: build: @@ -53,7 +49,7 @@ jobs: output_file: custom_maven_settings.xml servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' - name: Build Native with Maven - if: ${{ github.event_name == 'pull_request' || github.event_name == 'pull_request_target' }} + if: ${{ github.event_name == 'pull_request' }} run: ./mvnw -s custom_maven_settings.xml -B -Pnative clean verify - name: Build with Maven if: ${{ github.event_name == 'push' }}