Skip to content

Commit 69a970f

Browse files
authored
tools: do not run test-linux on unrelated tools changes
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: nodejs#63037 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d179c7e commit 69a970f

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

β€Ž.github/workflows/test-linux.ymlβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- .mailmap
77
- README.md
88
- vcbuild.bat
9+
- tools/actions/**
10+
- tools/clang-format/**
11+
- tools/dep_updaters/**
912
- test/internet/**
1013
- '**.nix'
1114
- .github/**
@@ -21,6 +24,9 @@ on:
2124
- .mailmap
2225
- README.md
2326
- vcbuild.bat
27+
- tools/actions/**
28+
- tools/clang-format/**
29+
- tools/dep_updaters/**
2430
- test/internet/**
2531
- '**.nix'
2632
- .github/**

β€Ž.github/workflows/timezone-update.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
echo "Comparing current version ${{ env.current_version }} to new version ${{ env.new_version }}"
4444
45-
- run: ./tools/update-timezone.mjs
45+
- run: ./tools/dep_updaters/update-timezone.mjs
4646
if: ${{ env.new_version != env.current_version }}
4747

4848
- name: Update the expected timezone version in test
@@ -57,7 +57,7 @@ jobs:
5757
with:
5858
author: Node.js GitHub Bot <github-bot@iojs.org>
5959
body: |
60-
This PR was generated by `.github/workflows/timezone-update.yml` and `tools/update-timezone.mjs`.
60+
This PR was generated by `.github/workflows/timezone-update.yml` and `tools/dep_updaters/update-timezone.mjs`.
6161
6262
Updates the ICU files as per the instructions present in https://github.com/nodejs/node/blob/main/doc/contributing/maintaining/maintaining-icu.md#time-zone-data
6363
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
2-
// Usage: tools/update-timezone.mjs
2+
33
import { execSync } from 'node:child_process';
44
import { renameSync, readdirSync, rmSync } from 'node:fs';
55

0 commit comments

Comments
Β (0)