Update README.md
This commit is contained in:
parent
ca8881ae34
commit
93ae7c6b6a
@ -38,6 +38,7 @@ Retrieve all changed files and directories relative to the target branch or the
|
|||||||
* Restrict change detection to a subset of files and directories:
|
* Restrict change detection to a subset of files and directories:
|
||||||
* Boolean output indicating that certain files have been changed.
|
* Boolean output indicating that certain files have been changed.
|
||||||
* Using [Glob pattern](https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet) matching.
|
* Using [Glob pattern](https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet) matching.
|
||||||
|
* Brace expansion
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -89,8 +90,7 @@ jobs:
|
|||||||
id: changed-files-specific
|
id: changed-files-specific
|
||||||
uses: tj-actions/changed-files@v35
|
uses: tj-actions/changed-files@v35
|
||||||
with:
|
with:
|
||||||
files: |
|
files: docs/*.{js,html} # Alternatively using: `docs/**` or `docs`
|
||||||
docs/**
|
|
||||||
|
|
||||||
- name: Run step if any file(s) in the docs folder change
|
- name: Run step if any file(s) in the docs folder change
|
||||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user