diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e599666..4b3a9c69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## v2.12.0 +## v3.0.0 - [Update to Node.js 20 ](https://github.com/dorny/paths-filter/pull/210) - [Update all dependencies](https://github.com/dorny/paths-filter/pull/215) diff --git a/README.md b/README.md index 144a3346..557271fb 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ don't allow this because they don't work on a level of individual jobs or steps. ## Example ```yaml -- uses: dorny/paths-filter@v2 +- uses: dorny/paths-filter@v3 id: changes with: filters: | @@ -83,7 +83,7 @@ For more information, see [CHANGELOG](https://github.com/dorny/paths-filter/blob ## Usage ```yaml -- uses: dorny/paths-filter@v2 +- uses: dorny/paths-filter@v3 with: # Defines filters applied to detected changed files. # Each filter has a name and a list of rules. @@ -176,7 +176,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -220,7 +220,7 @@ jobs: frontend: ${{ steps.filter.outputs.frontend }} steps: # For pull requests it's not necessary to checkout the code - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -266,7 +266,7 @@ jobs: packages: ${{ steps.filter.outputs.changes }} steps: # For pull requests it's not necessary to checkout the code - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -308,7 +308,7 @@ jobs: pull-requests: read steps: - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: ... # Configure your filters @@ -333,7 +333,7 @@ jobs: # This may save additional git fetch roundtrip if # merge-base is found within latest 20 commits fetch-depth: 20 - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: base: develop # Change detection against merge-base with this branch @@ -357,7 +357,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: # Use context to get the branch where commits were pushed. @@ -391,7 +391,7 @@ jobs: # Filter to detect which files were modified # Changes could be, for example, automatically committed - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: base: HEAD @@ -406,7 +406,7 @@ jobs: Define filter rules in own file ```yaml -- uses: dorny/paths-filter@v2 +- uses: dorny/paths-filter@v3 id: filter with: # Path to file where filters are defined @@ -419,7 +419,7 @@ jobs: Use YAML anchors to reuse path expression(s) inside another rule ```yaml -- uses: dorny/paths-filter@v2 +- uses: dorny/paths-filter@v3 id: filter with: # &shared is YAML anchor, @@ -440,7 +440,7 @@ jobs: Consider if file was added, modified or deleted ```yaml -- uses: dorny/paths-filter@v2 +- uses: dorny/paths-filter@v3 id: filter with: # Changed file can be 'added', 'modified', or 'deleted'. @@ -468,7 +468,7 @@ jobs: Passing list of modified files as command line args in Linux shell ```yaml -- uses: dorny/paths-filter@v2 +- uses: dorny/paths-filter@v3 id: filter with: # Enable listing of files matching each filter. @@ -494,7 +494,7 @@ jobs: Passing list of modified files as JSON array to another action ```yaml -- uses: dorny/paths-filter@v2 +- uses: dorny/paths-filter@v3 id: filter with: # Enable listing of files matching each filter.