Skip to content

Commit

Permalink
Merge pull request #167 from com-pas/build-yml-small-fix
Browse files Browse the repository at this point in the history
Reverted pull_request_target trigger
  • Loading branch information
Dennis Labordus authored Jan 13, 2022
2 parents 8795cf2 + f5bff3b commit 1817b4a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ on:
branches:
- 'main'
- 'develop'
pull_request_target:
branches:
- 'main'
- 'develop'

jobs:
build:
Expand Down Expand Up @@ -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' }}
Expand Down

0 comments on commit 1817b4a

Please sign in to comment.