Skip to content

Commit

Permalink
chore: update version in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-capellari committed Apr 27, 2023
1 parent 6674725 commit 07c2e5b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: julien-capellari/is-workspace-affected@v1.0
- uses: neoxia/is-workspace-affected@v2.0
id: affected
with:
workspace: front
Expand All @@ -37,18 +37,18 @@ This will build the `front` workspace if it (or it's dependencies) has any diffe
Here we you a branch, be you can also use a tag, this will allow test on the same branch.

## Inputs
| Name | Default | Description
| :----------- | :--------- | :-------------------
| project-root | `'.'` | Yarn project root
| workspace | `required` | Yarn workspace to check
| base | `required` | Base to compute diff. Supports branchs and tags. The needed revision will be fetched by the action.
| pattern | `'**'` | Files to search in the diff. Relative to tested workspace root.
| Name | Default | Description |
|:-------------|:-----------|:----------------------------------------------------------------------------------------------------|
| project-root | `'.'` | Yarn project root |
| workspace | `required` | Yarn workspace to check |
| base | `required` | Base to compute diff. Supports branchs and tags. The needed revision will be fetched by the action. |
| pattern | `'**'` | Files to search in the diff. Relative to tested workspace root. |

### Pattern
The pattern allow to filter the diff. If you set the following pattern '\*.js' the action will search for files matching `/project/workspace/*.js` in the diff (here `/project/workspace` is the root of the workspace).<br />
Supports any pattern supported by [minimatch](https://www.npmjs.com/package/minimatch).

## Outputs
| Name | Description
| :----------- | :-------------------
| affected | Will be truthy if the workspace is affected by changes.
| Name | Description |
|:---------|:--------------------------------------------------------|
| affected | Will be truthy if the workspace is affected by changes. |

0 comments on commit 07c2e5b

Please sign in to comment.