diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06b2429..7c98375 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,11 @@ name: "Build and populate cache" on: - workflow_run: - workflows: ["Format / format (pull_request)"] - types: - - completed + pull_request: + types: [ labeled ] + jobs: tests: + if: ${{ github.event.label.name == 'has: formatting' }} strategy: matrix: cachixName: