Skip to content

Commit

Permalink
CI: do not repeat CI runs for PRs from the same repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Oct 10, 2023
1 parent 07382d1 commit 255d621
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:

jobs:
build:
# pull requests are a duplicate of a branch push if within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository

strategy:
matrix:
host-os: ["ubuntu-latest", "macos-latest", "windows-latest"]
Expand Down

0 comments on commit 255d621

Please sign in to comment.