Skip to content

Commit

Permalink
CI: Only run on pushes or if pull request from fork
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed May 24, 2024
1 parent 740380c commit 2b00f02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
package:
name: Maven Build and Test
runs-on: ubuntu-latest
# Only run on pushes or if pull request from fork
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
permissions:
checks: write # to publish unit test results

Expand Down

0 comments on commit 2b00f02

Please sign in to comment.