From f588e17a5b5e157ebe9d1b3b04e2467127a5c8e1 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 2 Oct 2022 07:09:45 -0600 Subject: [PATCH 1/3] chore: remove redundant since last remote input --- action.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/action.yml b/action.yml index 9d898b1d787..6eb3d3059fc 100644 --- a/action.yml +++ b/action.yml @@ -50,10 +50,6 @@ inputs: base_sha: description: "Specify a base commit SHA on used for comparing changes" required: false - since_last_remote_commit: - description: "Use the last commit on the remote branch as the base_sha for push event." - required: false - default: "false" since: description: "Get changed files for commits whose timestamp is older than the given time" required: false @@ -165,7 +161,6 @@ runs: INPUT_BASE_SHA: ${{ inputs.base_sha }} INPUT_SHA: ${{ inputs.sha }} INPUT_PATH: ${{ inputs.path }} - INPUT_SINCE_LAST_REMOTE_COMMIT: ${{ inputs.since_last_remote_commit }} - run: | # "Calculate the sha..." bash $GITHUB_ACTION_PATH/get-sha.sh From f3f3a8e0a0ce3a46ee87f7596690f44bfdafe0a3 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 2 Oct 2022 07:12:35 -0600 Subject: [PATCH 2/3] Update test.yml --- .github/workflows/test.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 216c8723891..0d0e93b0d7e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -809,11 +809,6 @@ jobs: echo '${{ toJSON(steps.changed-files-custom-sha.outputs) }}' shell: bash - - name: Run changed-files with since_last_remote_commit set to true - id: changed-files-since-last-remote-commit - uses: ./ - with: - since_last_remote_commit: 'true' - name: Show output run: | echo '${{ toJSON(steps.changed-files-since-last-remote-commit.outputs) }}' From 677536fd32cd2e4ecdbb91299baabbff42127f95 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 2 Oct 2022 07:19:01 -0600 Subject: [PATCH 3/3] Update README.md --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 28fc3ce81f7..4847886db8a 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,6 @@ Support this project with a :star: | sha | `string` | `true` | `${{ github.sha }}` | Specify a different
commit SHA
used for
comparing changes | | base\_sha | `string` | `false` | | Specify a different
base commit SHA
used for
comparing changes | | path | `string` | `false` | `'.'` | Relative path under
`GITHUB_WORKSPACE`
to the repository | -| since\_last\_remote\_commit | `boolean` | `false` | `false` | Use the last commit on the remote
branch as the `base_sha`
(Defaults to the last commit
on the target branch for Pull requests
or the previous commit
on the current branch
for push events).
**NOTE:** This requires
`fetch-depth: 0`
with `actions/checkout@v3` | | quotepath | `boolean` | `false` | `true` | Output filenames completely verbatim by setting this to `false` | | diff\_relative | `boolean` | `false` | | Exclude changes outside the current directory and show pathnames relative to it. **NOTE:** This requires you to specify the top level directory via the `path` input. | | dir\_names | `boolean` | `false` | `false` | Output unique changed directories instead of filenames.
**NOTE:** This returns `.` for
changed files located in the root of the project. | @@ -287,12 +286,6 @@ Support this project with a :star: echo "$file was added" done - - name: Run changed-files using the last commit on the remote branch - id: changed-files-since-last-remote-commit - uses: tj-actions/changed-files@v31 - with: - since_last_remote_commit: "true" - - name: Run changed-files with quotepath disabled id: changed-files-quotepath uses: tj-actions/changed-files@v31