From dd3ed6263eb198697ba08fc5a07ba5836854c376 Mon Sep 17 00:00:00 2001 From: Hiroshi Muraoka Date: Sat, 15 Mar 2025 23:26:57 +0900 Subject: [PATCH] Update README.md --- README.md | 55 ------------------------------------------------------- 1 file changed, 55 deletions(-) diff --git a/README.md b/README.md index 8ebb260..e190fad 100644 --- a/README.md +++ b/README.md @@ -81,61 +81,6 @@ jobs: ... ``` -### Configure the workflow: `tj-actions/changed-files` - -This action accepts only JSON inputs. Please set `json: true` and `escape_json: false`. - - -```yaml -name: Filter paths and group by -on: - pull_request: - -jobs: - paths: - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: read - timeout-minutes: 5 - outputs: - directories: ${{ steps.group-by.outputs.directories }} - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Get changed files - id: changed - uses: tj-actions/changed-files@v45 - with: - skip_initial_fetch: true - json: true - escape_json: false - files: | - docker/** - - name: Group by - uses: tapihdev/paths-group-by@v0 - id: group-by - with: - paths: ${{ steps.changed.outputs.all_modified_files }} - glob: docker/*/* - - matrix: - runs-on: ubuntu-latest - permissions: - contents: read - timeout-minutes: 5 - strategy: - matrix: - directory: ${{fromJson(needs.paths.outputs.directories)}} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - sparse-checkout: ${{ matrix.directory }} - - name: Do something - ... -``` - ### Inputs | **Input** | **Required** | **Description** |