Skip to content

Commit

Permalink
tools: ignore unrelated workflow changes in slow Actions tests
Browse files Browse the repository at this point in the history
Changes in the workflow files never affect the node binary, running
build tasks seems unnecessary.

Refs: nodejs#40928

PR-URL: nodejs#40990
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
aduh95 authored and Linkgoron committed Jan 31, 2022
1 parent 9eb6e79 commit da7d8dc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- '**.md'
- 'AUTHORS'
- 'doc/**'
- .github/**
- '!.github/workflows/build-tarball.yml'
push:
branches:
- master
Expand All @@ -19,6 +21,8 @@ on:
- '**.md'
- 'AUTHORS'
- 'doc/**'
- .github/**
- '!.github/workflows/build-tarball.yml'

env:
FLAKY_TESTS: dontcare
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
paths-ignore:
- "README.md"
- .github/**
- '!.github/workflows/build-windows.yml'
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
Expand All @@ -14,6 +16,8 @@ on:
- v[0-9]+.x
paths-ignore:
- "README.md"
- .github/**
- '!.github/workflows/build-windows.yml'

env:
PYTHON_VERSION: '3.10'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- .github/**
- '!.github/workflows/coverage-linux.yml'
push:
branches:
- master
Expand All @@ -17,6 +19,8 @@ on:
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- .github/**
- '!.github/workflows/coverage-linux.yml'

env:
PYTHON_VERSION: '3.10'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
- 'deps/**'
- 'doc/**'
- 'tools/**'
- .github/**
- '!.github/workflows/coverage-windows.yml'
push:
branches:
- master
Expand All @@ -19,6 +21,8 @@ on:
- 'deps/**'
- 'doc/**'
- 'tools/**'
- .github/**
- '!.github/workflows/coverage-windows.yml'

env:
PYTHON_VERSION: '3.10'
Expand Down

0 comments on commit da7d8dc

Please sign in to comment.