diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 559728c531dec5..0b35c4f31571cc 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -2,13 +2,10 @@ name: Build Windows on: pull_request: - paths: - - lib/**/*.js - - Makefile - - src/**/*.cc - - src/**/*.h - - tools/gyp/** - - .github/workflows/build-windows.yml + paths-ignore: + - README.md + - .github/** + - '!.github/workflows/build-windows.yml' types: [opened, synchronize, reopened, ready_for_review] push: branches: @@ -16,13 +13,10 @@ on: - canary - v[0-9]+.x-staging - v[0-9]+.x - paths: - - lib/**/*.js - - Makefile - - src/**/*.cc - - src/**/*.h - - tools/gyp/** - - .github/workflows/build-windows.yml + paths-ignore: + - README.md + - .github/** + - '!.github/workflows/build-windows.yml' concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}