diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 223974c83..b191cab5a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -4,6 +4,12 @@ on: push: branches: - main + pull_request: + types: [closed] + branches: + - main + +if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true) jobs: build: