Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-10-22 21:02:50 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2021-10-24 22:01:18 +0300
commit8eebc33c0296756d9b2f07fc452a8a8a0de949e3 (patch)
tree59a8d085d19049a7960f8a9a59778821dc63ae37 /.github
parent566365dd9dd86588f1b6e06b4cba27cf9b107c33 (diff)
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>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-windows.yml4
-rw-r--r--.github/workflows/test-linux.yml4
2 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml
index e6fd0a4b92f..992319168b7 100644
--- a/.github/workflows/build-windows.yml
+++ b/.github/workflows/build-windows.yml
@@ -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'
diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml
index 01227a0ff92..b7dce4dd8a9 100644
--- a/.github/workflows/test-linux.yml
+++ b/.github/workflows/test-linux.yml
@@ -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'