Skip to content

Commit a11411b

Browse files
authored
Merge pull request #14 from endock/upgrade-project-to-node.js-v24
Bump node.js to v24.x
2 parents 3238f10 + bc77a07 commit a11411b

12 files changed

Lines changed: 29 additions & 29 deletions

File tree

.github/workflows/ci-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
main:
1616
runs-on: ubuntu-latest
17-
environment: fuxingloh/multi-labeler workflow
17+
environment: endock/multi-labeler workflow
1818
steps:
1919
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.19.4
1+
24.11.1

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Multi Labeler
22

3-
[![codecov](https://codecov.io/gh/fuxingloh/multi-labeler/branch/main/graph/badge.svg?token=SOWIV1VVM1)](https://codecov.io/gh/fuxingloh/multi-labeler)
4-
[![CodeFactor](https://www.codefactor.io/repository/github/fuxingloh/multi-labeler/badge)](https://www.codefactor.io/repository/github/fuxingloh/multi-labeler)
5-
[![Release](https://img.shields.io/github/v/release/fuxingloh/multi-labeler)](https://github.com/fuxingloh/multi-labeler/releases)
6-
[![License MIT](https://img.shields.io/github/license/fuxingloh/multi-labeler)](https://github.com/fuxingloh/multi-labeler/blob/main/LICENSE)
3+
[![codecov](https://codecov.io/gh/endock/multi-labeler/branch/main/graph/badge.svg?token=SOWIV1VVM1)](https://codecov.io/gh/endock/multi-labeler)
4+
[![CodeFactor](https://www.codefactor.io/repository/github/endock/multi-labeler/badge)](https://www.codefactor.io/repository/github/endock/multi-labeler)
5+
[![Release](https://img.shields.io/github/v/release/endock/multi-labeler)](https://github.com/endock/multi-labeler/releases)
6+
[![License MIT](https://img.shields.io/github/license/endock/multi-labeler)](https://github.com/endock/multi-labeler/blob/main/LICENSE)
77

88
Multi labeler for title, body, comments, commit messages, branch, base branch, author or files.
99
Optionally, generate a status check based on the labels.
1010

11-
[Who is using `fuxingloh/multi-labeler`?](https://github.com/search?o=desc&q=fuxingloh+%2F+multi-labeler&s=indexed&type=Code)
11+
[Who is using `endock/multi-labeler`?](https://github.com/search?o=desc&q=endock+%2F+multi-labeler&s=indexed&type=Code)
1212

1313
## Features
1414

@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-latest
7070
steps:
7171
# follows semantic versioning. Lock to different version: v1, v1.5, v1.5.0 or use a commit hash.
72-
- uses: fuxingloh/multi-labeler@v4 # v4
72+
- uses: endock/multi-labeler@v4 # v4
7373
with:
7474
github-token: ${{secrets.GITHUB_TOKEN}} # optional, default to '${{ github.token }}'
7575
config-path: .github/labeler.yml # optional, default to '.github/labeler.yml'
@@ -139,7 +139,7 @@ jobs:
139139
name: Labeler
140140
runs-on: ubuntu-latest
141141
steps:
142-
- uses: fuxingloh/multi-labeler@v4
142+
- uses: endock/multi-labeler@v4
143143
```
144144

145145
#### `.github/labeler.yml`
@@ -170,7 +170,7 @@ labels:
170170
171171
checks:
172172
- context: 'Semantic Pull Request'
173-
url: 'https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml'
173+
url: 'https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml'
174174
description:
175175
success: Ready for review & merge.
176176
failure: Missing semantic label for merge.
@@ -200,7 +200,7 @@ jobs:
200200
name: Labeler
201201
runs-on: ubuntu-latest
202202
steps:
203-
- uses: fuxingloh/multi-labeler@v4
203+
- uses: endock/multi-labeler@v4
204204
```
205205

206206
#### `.github/labeler.yml`
@@ -243,7 +243,7 @@ jobs:
243243
name: Labeler
244244
runs-on: ubuntu-latest
245245
steps:
246-
- uses: fuxingloh/multi-labeler@v4
246+
- uses: endock/multi-labeler@v4
247247
```
248248

249249
#### `.github/labeler.yml`
@@ -274,7 +274,7 @@ jobs:
274274
name: Labeler
275275
runs-on: ubuntu-latest
276276
steps:
277-
- uses: fuxingloh/multi-labeler@v4
277+
- uses: endock/multi-labeler@v4
278278
```
279279

280280
#### `.github/labeler.yml`
@@ -296,7 +296,7 @@ labels:
296296

297297
## Configuration
298298

299-
Once you’ve added fuxingloh/multi-labeler to your repository,
299+
Once you’ve added endock/multi-labeler to your repository,
300300
it must be enabled by adding a `.github/labeler.yml` configuration file to the repository.
301301
If you want to use a configuration file shared across multiple repositories,
302302
you can set the`config-repo` input to point to a different repository.
@@ -305,7 +305,7 @@ as the default `GITHUB_TOKEN` only has access to the repository the action is ru
305305

306306
## Matchers
307307

308-
> RegEx matcher requires backslash '\' to be double slashed '\\'. Hence, to match brackets '()' you need a regex of '\\(\\)'. See https://github.com/fuxingloh/multi-labeler/issues/103
308+
> RegEx matcher requires backslash '\' to be double slashed '\\'. Hence, to match brackets '()' you need a regex of '\\(\\)'. See https://github.com/endock/multi-labeler/issues/103
309309

310310
### PR/Issue Title: RegEx
311311

__tests__/checks.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ describe('checks', () => {
427427

428428
expect(checks.length).toBe(1);
429429
expect(checks[0].context).toBe('Semantic Pull Request');
430-
expect(checks[0].url).toBe('https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml');
430+
expect(checks[0].url).toBe('https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml');
431431
expect(checks[0].state).toBe('success');
432432
expect(checks[0].description).toBe('Ready for review & merge.');
433433
});
@@ -437,7 +437,7 @@ describe('checks', () => {
437437

438438
expect(checks.length).toBe(1);
439439
expect(checks[0].context).toBe('Semantic Pull Request');
440-
expect(checks[0].url).toBe('https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml');
440+
expect(checks[0].url).toBe('https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml');
441441
expect(checks[0].state).toBe('success');
442442
expect(checks[0].description).toBe('Ready for review & merge.');
443443
});
@@ -447,7 +447,7 @@ describe('checks', () => {
447447

448448
expect(checks.length).toBe(1);
449449
expect(checks[0].context).toBe('Semantic Pull Request');
450-
expect(checks[0].url).toBe('https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml');
450+
expect(checks[0].url).toBe('https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml');
451451
expect(checks[0].state).toBe('success');
452452
expect(checks[0].description).toBe('Ready for review & merge.');
453453
});
@@ -457,7 +457,7 @@ describe('checks', () => {
457457

458458
expect(checks.length).toBe(1);
459459
expect(checks[0].context).toBe('Semantic Pull Request');
460-
expect(checks[0].url).toBe('https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml');
460+
expect(checks[0].url).toBe('https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml');
461461
expect(checks[0].state).toBe('success');
462462
expect(checks[0].description).toBe('Ready for review & merge.');
463463
});
@@ -467,7 +467,7 @@ describe('checks', () => {
467467

468468
expect(checks.length).toBe(1);
469469
expect(checks[0].context).toBe('Semantic Pull Request');
470-
expect(checks[0].url).toBe('https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml');
470+
expect(checks[0].url).toBe('https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml');
471471
expect(checks[0].state).toBe('success');
472472
expect(checks[0].description).toBe('Ready for review & merge.');
473473
});
@@ -477,7 +477,7 @@ describe('checks', () => {
477477

478478
expect(checks.length).toBe(1);
479479
expect(checks[0].context).toBe('Semantic Pull Request');
480-
expect(checks[0].url).toBe('https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml');
480+
expect(checks[0].url).toBe('https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml');
481481
expect(checks[0].state).toBe('failure');
482482
expect(checks[0].description).toBe('Missing semantic label for merge.');
483483
});

__tests__/fixtures/checks-basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: v1
22

33
checks:
44
- context: 'Semantic Pull Request'
5-
url: 'https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml'
5+
url: 'https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml'
66
description: Ready for review & merge.
77
labels:
88
any:

__tests__/fixtures/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: v1
22

33
checks:
44
- context: 'Semantic Pull Request'
5-
url: 'https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml'
5+
url: 'https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml'
66
description:
77
success: Ready for review & merge.
88
failure: Missing semantic label for merge.

__tests__/fixtures/invalid/checks-all-invalid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ labels:
77

88
checks:
99
- context: Semantic Pull Request
10-
url: 'https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml'
10+
url: 'https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml'
1111
description:
1212
success: Ready for review & merge.
1313
failure: Missing semantic label for merge.

__tests__/fixtures/invalid/checks-any-invalid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ labels:
77

88
checks:
99
- context: Semantic Pull Request
10-
url: 'https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml'
10+
url: 'https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml'
1111
description:
1212
success: Ready for review & merge.
1313
failure: Missing semantic label for merge.

__tests__/fixtures/invalid/checks-context-missing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ labels:
66
title: '^feat:.*'
77

88
checks:
9-
- url: 'https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml'
9+
- url: 'https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml'
1010
description:
1111
success: Ready for review & merge.
1212
failure: Missing semantic label for merge.

__tests__/fixtures/semantic-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ labels:
1919

2020
checks:
2121
- context: 'Semantic Pull Request'
22-
url: 'https://github.com/fuxingloh/multi-labeler/blob/main/.github/labeler.yml'
22+
url: 'https://github.com/endock/multi-labeler/blob/main/.github/labeler.yml'
2323
description:
2424
success: Ready for review & merge.
2525
failure: Missing semantic label for merge.

0 commit comments

Comments
 (0)