mirror of
https://github.com/tj-actions/find-changed-files
synced 2026-07-21 11:13:44 +00:00
No description
- Shell 73.4%
- Dockerfile 26.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| action.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
This repo is no longer maintained moved to https://github.com/tj-actions/verify-changed-files
find-changed-files
A github action to return a list of changed files using grep
...:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# .....................
# Make changes to files
# .....................
- name: Run Find changed files.
id: changed_files
uses: jackton1/find-changed-files@v1.1
with:
files: "test.png, new.txt, test_directory"
- name: Perform action when files change.
if: steps.changed_files.outputs.files_changed == 'true'
run: |
echo "Do something when files have changed."
Inputs
| Input | type | required | default | description |
|---|---|---|---|---|
| token | string |
false |
${{ github.token }} |
github action or PAT token |
| files | string |
false |
Comma separated list of file/directory names to check for changes during workflow execution |