Skip to content

Commit

Permalink
tools: only run build-windows workflow on source changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jan 29, 2024
1 parent 64c6d97 commit c7898a9
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,29 @@ 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/**
- tools/test.py
- '.github/workflows/build-windows.yml'

Check failure on line 12 in .github/workflows/build-windows.yml

View workflow job for this annotation

GitHub Actions / lint-yaml

12:9 [quoted-strings] string value is redundantly quoted with single quotes
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/**
- tools/test.py
- '.github/workflows/build-windows.yml'

Check failure on line 27 in .github/workflows/build-windows.yml

View workflow job for this annotation

GitHub Actions / lint-yaml

27:9 [quoted-strings] string value is redundantly quoted with single quotes

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

0 comments on commit c7898a9

Please sign in to comment.