diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index 7a46993..b72518f 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -27,6 +27,12 @@ on: branches: - main types: [opened, synchronize, reopened, labeled] + # Only run PR CI if the commit doesn't already have passing branch CI + if: | + github.event_name == 'pull_request' && + (github.event.action == 'opened' || + github.event.action == 'synchronize' || + github.event.action == 'reopened') paths-ignore: - 'README.md' - 'doc/**'