diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1eefa2a..36c841c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,14 +1,10 @@ on: - # pull_request: - # branches: - # - main - # - dev - - merge_group: - push: + pull_request: branches: - main - dev + types: + - closed # push: # branches: @@ -18,7 +14,7 @@ on: name: "Build & Release" jobs: build: - name: Build & Release + if: github.event.pull_request.merged == true runs-on: windows-latest steps: - name: Checkout code