Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for including matching changed files when dir_names is set to true #1464

Conversation

jackton1
Copy link
Member

Closes: #1447

@jackton1 jackton1 changed the title feat: add support for including matching files when dirname is set to true feat: add support for including matching changed files when dirname is set to true Aug 21, 2023
@jackton1 jackton1 changed the title feat: add support for including matching changed files when dirname is set to true feat: add support for including matching changed files when dir_names is set to true Aug 21, 2023
src/changedFiles.ts Outdated Show resolved Hide resolved
src/changedFiles.ts Outdated Show resolved Hide resolved
src/changedFiles.ts Outdated Show resolved Hide resolved
src/changedFiles.ts Outdated Show resolved Hide resolved
src/main.ts Outdated Show resolved Hide resolved
@jackton1 jackton1 force-pushed the feat/add-support-for-including-matching-files-when-dirname-is-set-to-true branch from 8123810 to 955fe42 Compare August 21, 2023 21:12
@jackton1 jackton1 force-pushed the feat/add-support-for-including-matching-files-when-dirname-is-set-to-true branch from 4dc095a to f418479 Compare August 21, 2023 22:12
@jackton1 jackton1 added the merge when passing Merge the PR automatically once all status checks have passed label Aug 22, 2023
@jackton1 jackton1 force-pushed the feat/add-support-for-including-matching-files-when-dirname-is-set-to-true branch from 951732f to 50adea3 Compare August 22, 2023 03:01
@repo-ranger repo-ranger bot merged commit 8789204 into main Aug 22, 2023
152 checks passed
@repo-ranger repo-ranger bot deleted the feat/add-support-for-including-matching-files-when-dirname-is-set-to-true branch August 22, 2023 03:12
coolguy1771 pushed a commit to coolguy1771/home-ops that referenced this pull request Aug 23, 2023
….0 (#3201)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[tj-actions/changed-files](https://togithub.com/tj-actions/changed-files)
| action | major | `v37.6.1` -> `v38.0.0` |

---

### Release Notes

<details>
<summary>tj-actions/changed-files (tj-actions/changed-files)</summary>

###
[`v38.0.0`](https://togithub.com/tj-actions/changed-files/releases/tag/v38.0.0)

[Compare
Source](https://togithub.com/tj-actions/changed-files/compare/v37.6.1...v38.0.0)

#### 🚀 🚀 New Feature 🚀 🚀

- Inputs `dir_names_include_files` and
`dir_names_include_files_separator` now support providing patterns that
can be matched to return changed files alongside the directory names
when the `dir_names` input is set to `true`

#### 🔥 🔥  Breaking Changes 🔥 🔥

- Output paths for Windows now use a double backslash path separator.
e.g `src\\main.ts`

#### What's Changed

- Upgraded to v37.6.1 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1458
- chore(deps): update actions/setup-node action to v3.8.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1459
- chore(deps): update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.5.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1460
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1461
- chore(deps): update dependency jest to v29.6.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1462
- chore(deps): update typescript-eslint monorepo to v6.4.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1463
- chore: update .eslintrc.json by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1465
- feat: add support for including matching changed files when dir_names
is set to true by [@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1464
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1466
- chore(deps): update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.5.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1467
- fix: bug with locating the previous tag by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1470
- chore(deps): update dependency
[@&#8203;types/jest](https://togithub.com/types/jest) to v29.5.4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1472
- chore: update test by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1469
- fix: error getting diff for submodules by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1473

**Full Changelog**:
tj-actions/changed-files@v37...v38.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ny4yIiwidXBkYXRlZEluVmVyIjoiMzYuNTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: lumiere-bot <98047013+lumiere-bot[bot]@users.noreply.github.com>
szinn pushed a commit to szinn/k8s-homelab that referenced this pull request Aug 25, 2023
….0 (#2283)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[tj-actions/changed-files](https://togithub.com/tj-actions/changed-files)
| action | major | `v37.6.1` -> `v38.1.0` |

---

### Release Notes

<details>
<summary>tj-actions/changed-files (tj-actions/changed-files)</summary>

###
[`v38.1.0`](https://togithub.com/tj-actions/changed-files/releases/tag/v38.1.0)

[Compare
Source](https://togithub.com/tj-actions/changed-files/compare/v38.0.0...v38.1.0)

#### 🚀 🚀 New Feature 🚀 🚀

- Input `fetch_additional_submodule_history` now supports fetching
additional history for submodules.

#### What's Changed

- Upgraded to v38 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1474
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1475
- feat: add support for fetching additional history for submodules by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1476
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1477
- chore: move submodule update to dependabot and remove unused workflow
by [@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1478
- chore(deps-dev): bump
[@&#8203;types/node](https://togithub.com/types/node) from 20.5.3 to
20.5.4 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[tj-actions/changed-files#1480
- chore(deps): bump test/demo from `e168fac` to `f0065d7` by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[tj-actions/changed-files#1481

**Full Changelog**:
tj-actions/changed-files@v38...v38.1.0

###
[`v38.0.0`](https://togithub.com/tj-actions/changed-files/releases/tag/v38.0.0)

[Compare
Source](https://togithub.com/tj-actions/changed-files/compare/v37.6.1...v38.0.0)

#### 🚀 🚀 New Feature 🚀 🚀

- Inputs `dir_names_include_files` and
`dir_names_include_files_separator` now support providing patterns that
can be matched to return changed files alongside the directory names
when the `dir_names` input is set to `true`

#### 🔥 🔥  Breaking Changes 🔥 🔥

- Output paths for Windows now use a double backslash path separator.
e.g `src\\main.ts`

#### What's Changed

- Upgraded to v37.6.1 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1458
- chore(deps): update actions/setup-node action to v3.8.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1459
- chore(deps): update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.5.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1460
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1461
- chore(deps): update dependency jest to v29.6.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1462
- chore(deps): update typescript-eslint monorepo to v6.4.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1463
- chore: update .eslintrc.json by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1465
- feat: add support for including matching changed files when dir_names
is set to true by [@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1464
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1466
- chore(deps): update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.5.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1467
- fix: bug with locating the previous tag by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1470
- chore(deps): update dependency
[@&#8203;types/jest](https://togithub.com/types/jest) to v29.5.4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1472
- chore: update test by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1469
- fix: error getting diff for submodules by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1473

**Full Changelog**:
tj-actions/changed-files@v37...v38.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ny4yIiwidXBkYXRlZEluVmVyIjoiMzYuNTcuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: repo-jeeves <106431701+repo-jeeves[bot]@users.noreply.github.com>
gfellerph pushed a commit to swisspost/design-system that referenced this pull request Sep 4, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[tj-actions/changed-files](https://togithub.com/tj-actions/changed-files)
| action | major | `v37` -> `v38` |

---

### Release Notes

<details>
<summary>tj-actions/changed-files (tj-actions/changed-files)</summary>

###
[`v38`](https://togithub.com/tj-actions/changed-files/releases/tag/v38)

[Compare
Source](https://togithub.com/tj-actions/changed-files/compare/v37...v38)

### Changes in v38.2.1

#### What's Changed

- Upgraded to v38.2.0 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1515
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1516
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1519
- chore(deps): bump test/demo from `8bbc726` to `5dfac2e` by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[tj-actions/changed-files#1518
- fix: bug matching patterns by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1520
- chore: update warning message by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1521

**Full Changelog**:
tj-actions/changed-files@v38...v38.2.1

***

### Changes in v38.2.0

#### 🚀 🚀 New Feature 🚀 🚀

- Boolean Input `fail_on_initial_diff_error` now supports exiting with
an error when the initial diff fails.
- Boolean Input `fail_on_submodule_diff_error` now supports exiting with
an error when the submodule diff fails.

#### What's Changed

- Upgraded to v38.1.3 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1503
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1504
- fix(deps): update dependency yaml to v2.3.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1505
- chore(deps): update typescript-eslint monorepo to v6.5.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1506
- chore(deps): update dependency eslint-plugin-github to v4.10.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1507
- chore(deps): update dependency prettier to v3.0.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1508
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1510
- feat: add support for failing on error by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1511
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1513
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1514
- chore(deps): update dependency
[@&#8203;types/uuid](https://togithub.com/types/uuid) to v9.0.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1512

**Full Changelog**:
tj-actions/changed-files@v38...v38.2.0

***

### Changes in v38.1.3

#### What's Changed

- chore(deps): update tj-actions/release-tagger action to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1502

**Full Changelog**:
tj-actions/changed-files@v38.1.2...v38.1.3

***

### Changes in v38.1.2

#### What's Changed

- chore(deps): update dependency eslint to v8.48.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1494
- Upgraded to v38.1.1 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1495
- chore: update warning message by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1497
- chore: update submodule by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1498
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1499
- chore: update warning message by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1500

**Full Changelog**:
tj-actions/changed-files@v38...v38.1.2

***

### Changes in v38.1.1

#### What's Changed

- Upgraded to v38.1.0 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1482
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1483
- chore(deps): update tj-actions/auto-doc action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1484
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1485
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1486
- chore(deps): update dependency jest to v29.6.4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1488
- chore(deps): update dependency typescript to v5.2.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1489
- chore(deps): update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.5.6 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1490
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1491
- chore(deps): bump test/demo from `f0065d7` to `8bbc726` by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[tj-actions/changed-files#1492
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1493

**Full Changelog**:
tj-actions/changed-files@v38...v38.1.1

***

### Changes in v38.1.0

#### 🚀 🚀 New Feature 🚀 🚀

- Input `fetch_additional_submodule_history` now supports fetching
additional history for submodules.

#### What's Changed

- Upgraded to v38 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1474
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1475
- feat: add support for fetching additional history for submodules by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1476
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1477
- chore: move submodule update to dependabot and remove unused workflow
by [@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1478
- chore(deps-dev): bump
[@&#8203;types/node](https://togithub.com/types/node) from 20.5.3 to
20.5.4 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[tj-actions/changed-files#1480
- chore(deps): bump test/demo from `e168fac` to `f0065d7` by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[tj-actions/changed-files#1481

**Full Changelog**:
tj-actions/changed-files@v38...v38.1.0

***

### Changes in v38.0.0

#### 🚀 🚀 New Feature 🚀 🚀

- Inputs `dir_names_include_files` and
`dir_names_include_files_separator` now support providing patterns that
can be matched to return changed files alongside the directory names
when the `dir_names` input is set to `true`

#### 🔥 🔥  Breaking Changes 🔥 🔥

- Output paths for Windows now use a double backslash path separator.
e.g `src\\main.ts`

#### What's Changed

- Upgraded to v37.6.1 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1458
- chore(deps): update actions/setup-node action to v3.8.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1459
- chore(deps): update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.5.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1460
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1461
- chore(deps): update dependency jest to v29.6.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1462
- chore(deps): update typescript-eslint monorepo to v6.4.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1463
- chore: update .eslintrc.json by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1465
- feat: add support for including matching changed files when dir_names
is set to true by [@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1464
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#1466
- chore(deps): update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.5.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1467
- fix: bug with locating the previous tag by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1470
- chore(deps): update dependency
[@&#8203;types/jest](https://togithub.com/types/jest) to v29.5.4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#1472
- chore: update test by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1469
- fix: error getting diff for submodules by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#1473

**Full Changelog**:
tj-actions/changed-files@v37...v38.0.0

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" in timezone
Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/swisspost/design-system).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when passing Merge the PR automatically once all status checks have passed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Availability to check specific files changes
3 participants