mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: skip long-running Actions for README-only modifications
If the only file modified is README.md do not run test-linux or build-windows tasks. This will help streamline onboarding sessions but may help some other cases too. PR-URL: https://github.com/nodejs/node/pull/40571 Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
committed by
Node.js GitHub Bot
parent
566365dd9d
commit
8eebc33c02
4
.github/workflows/build-windows.yml
vendored
4
.github/workflows/build-windows.yml
vendored
@@ -2,6 +2,8 @@ name: build-windows
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
push:
|
||||
branches:
|
||||
@@ -10,6 +12,8 @@ on:
|
||||
- canary
|
||||
- v[0-9]+.x-staging
|
||||
- v[0-9]+.x
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
|
||||
4
.github/workflows/test-linux.yml
vendored
4
.github/workflows/test-linux.yml
vendored
@@ -2,6 +2,8 @@ name: test-linux
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
push:
|
||||
branches:
|
||||
@@ -10,6 +12,8 @@ on:
|
||||
- canary
|
||||
- v[0-9]+.x-staging
|
||||
- v[0-9]+.x
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
|
||||
Reference in New Issue
Block a user