Skip to content

Commit

Permalink
tools: run build-windows workflow only on source changes
Browse files Browse the repository at this point in the history
PR-URL: #51596
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
  • Loading branch information
aduh95 authored and targos committed Feb 15, 2024
1 parent c7912c3 commit 5fe493d
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/build-windows.yml
Expand Up @@ -2,21 +2,27 @@ name: Build Windows

on:
pull_request:
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/build-windows.yml'
paths:
- lib/**/*.js
- Makefile
- src/**/*.cc
- src/**/*.h
- tools/gyp/**
- .github/workflows/build-windows.yml
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/build-windows.yml'
paths:
- lib/**/*.js
- Makefile
- src/**/*.cc
- src/**/*.h
- tools/gyp/**
- .github/workflows/build-windows.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down

0 comments on commit 5fe493d

Please sign in to comment.