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

bump version in readme from v1->v3 #83

Merged
merged 1 commit into from
Jul 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ don't allow this because they don't work on a level of individual jobs or steps.
## Example

```yaml
- uses: step-security/paths-filter@v2
- uses: step-security/paths-filter@v3
id: changes
with:
filters: |
Expand All @@ -75,7 +75,7 @@ For more scenarios see [examples](#examples) section.
## Usage

```yaml
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
with:
# Defines filters applied to detected changed files.
# Each filter has a name and a list of rules.
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
frontend: ${{ steps.filter.outputs.frontend }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
packages: ${{ steps.filter.outputs.changes }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
pull-requests: read
steps:
- uses: actions/checkout@v3
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
filters: ... # Configure your filters
Expand All @@ -325,7 +325,7 @@ jobs:
# This may save additional git fetch roundtrip if
# merge-base is found within latest 20 commits
fetch-depth: 20
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
base: develop # Change detection against merge-base with this branch
Expand All @@ -349,7 +349,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
# Use context to get the branch where commits were pushed.
Expand Down Expand Up @@ -383,7 +383,7 @@ jobs:

# Filter to detect which files were modified
# Changes could be, for example, automatically committed
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
base: HEAD
Expand All @@ -398,7 +398,7 @@ jobs:
<summary>Define filter rules in own file</summary>

```yaml
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
# Path to file where filters are defined
Expand All @@ -411,7 +411,7 @@ jobs:
<summary>Use YAML anchors to reuse path expression(s) inside another rule</summary>

```yaml
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
# &shared is YAML anchor,
Expand All @@ -432,7 +432,7 @@ jobs:
<summary>Consider if file was added, modified or deleted</summary>

```yaml
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
# Changed file can be 'added', 'modified', or 'deleted'.
Expand Down Expand Up @@ -460,7 +460,7 @@ jobs:
<summary>Passing list of modified files as command line args in Linux shell</summary>

```yaml
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
# Enable listing of files matching each filter.
Expand All @@ -486,7 +486,7 @@ jobs:
<summary>Passing list of modified files as JSON array to another action</summary>

```yaml
- uses: step-security/paths-filter@v1
- uses: step-security/paths-filter@v3
id: filter
with:
# Enable listing of files matching each filter.
Expand Down
Loading