Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tj-actions/changed-files
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v24.1
Choose a base ref
...
head repository: tj-actions/changed-files
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v25
Choose a head ref
  • 4 commits
  • 3 files changed
  • 2 contributors

Commits on Aug 3, 2022

  1. Upgraded from v24 -> v24.1 (#561)

    Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
    jackton1 and jackton1 authored Aug 3, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b977bc8 View commit details

Commits on Aug 7, 2022

  1. Update README.md

    jackton1 authored Aug 7, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    95e9882 View commit details
  2. Update README.md

    jackton1 authored Aug 7, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4ef34fc View commit details

Commits on Aug 8, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    36e65a1 View commit details
Showing with 46 additions and 27 deletions.
  1. +26 −9 HISTORY.md
  2. +19 −17 README.md
  3. +1 −1 action.yml
35 changes: 26 additions & 9 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [v24.1](https://github.com/tj-actions/changed-files/tree/v24.1) (2022-08-03)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v24...v24.1)

**Implemented enhancements:**

- \[Feature\] Execute against master [\#556](https://github.com/tj-actions/changed-files/issues/556)
- \[Feature\] implement an outputs for matrix compatible jobs [\#530](https://github.com/tj-actions/changed-files/issues/530)

**Fixed bugs:**

- \[BUG\] Separator removing double-quotes [\#545](https://github.com/tj-actions/changed-files/issues/545)

**Merged pull requests:**

- fix: bug with matrix job [\#560](https://github.com/tj-actions/changed-files/pull/560) ([jackton1](https://github.com/jackton1))
- fix: bug with matrix job [\#559](https://github.com/tj-actions/changed-files/pull/559) ([jackton1](https://github.com/jackton1))
- chore: update action name [\#558](https://github.com/tj-actions/changed-files/pull/558) ([jackton1](https://github.com/jackton1))
- feat: add support for json formatted output. [\#557](https://github.com/tj-actions/changed-files/pull/557) ([jackton1](https://github.com/jackton1))
- Upgraded to v24 [\#555](https://github.com/tj-actions/changed-files/pull/555) ([jackton1](https://github.com/jackton1))

## [v24](https://github.com/tj-actions/changed-files/tree/v24) (2022-07-22)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v23.2...v24)
@@ -44,10 +65,6 @@

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v23...v23.1)

**Implemented enhancements:**

- \[Feature\] implement an outputs for matrix compatible jobs [\#530](https://github.com/tj-actions/changed-files/issues/530)

**Fixed bugs:**

- \[BUG\] Misleading error if git command is missing [\#532](https://github.com/tj-actions/changed-files/issues/532)
@@ -804,7 +821,7 @@

## [v1.2.1](https://github.com/tj-actions/changed-files/tree/v1.2.1) (2021-11-08)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.2.0...v1.2.1)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.5...v1.2.1)

**Implemented enhancements:**

@@ -818,13 +835,13 @@
- Update actions/checkout action to v2.4.0 [\#243](https://github.com/tj-actions/changed-files/pull/243) ([renovate[bot]](https://github.com/apps/renovate))
- Upgraded to v11.5 [\#241](https://github.com/tj-actions/changed-files/pull/241) ([jackton1](https://github.com/jackton1))

## [v1.2.0](https://github.com/tj-actions/changed-files/tree/v1.2.0) (2021-10-30)
## [v11.5](https://github.com/tj-actions/changed-files/tree/v11.5) (2021-10-30)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.5...v1.2.0)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.2.0...v11.5)

## [v11.5](https://github.com/tj-actions/changed-files/tree/v11.5) (2021-10-30)
## [v1.2.0](https://github.com/tj-actions/changed-files/tree/v1.2.0) (2021-10-30)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.4...v11.5)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.4...v1.2.0)

**Merged pull requests:**

36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -23,6 +23,8 @@ Retrieve all changed files and directories relative to the target branch (`pull_
* Scales to large repositories.
* Git submodules support.
* No extra API calls.
* Escaped JSON Output which can be used for running matrix jobs based on changed files.
* List only changed directories.
* Monorepos (Fetches only the last remote commit).
* Supports all platforms (Linux, MacOS, Windows).
* [GitHub-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) support
@@ -68,7 +70,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1

- name: List all changed files
run: |
@@ -161,11 +163,11 @@ Support this project with a :star:
- name: Get changed files using defaults
id: changed-files
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
- name: Get changed files using a comma separator
id: changed-files-comma
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
separator: ","
@@ -187,7 +189,7 @@ Support this project with a :star:
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
files: |
my-file.txt
@@ -228,14 +230,14 @@ Support this project with a :star:
- name: Use a source file or list of file(s) to populate to files input.
id: changed-files-specific-source-file
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
files_from_source_file: |
test/changed-files-list.txt
- name: Use a source file or list of file(s) to populate to files input and optionally specify more files.
id: changed-files-specific-source-file-and-specify-files
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
files_from_source_file: |
test/changed-files-list.txt
@@ -244,13 +246,13 @@ Support this project with a :star:
- name: Use a different commit SHA
id: changed-files-custom-sha
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
sha: ${{ github.event.pull_request.head.sha }}
- name: Use a different base SHA
id: changed-files-custom-base-sha
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
base_sha: "2096ed0"
@@ -262,7 +264,7 @@ Support this project with a :star:
- name: Run changed-files with defaults on the dir1
id: changed-files-for-dir1
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
path: dir1
@@ -274,19 +276,19 @@ Support this project with a :star:
- name: Run changed-files using the last commit on the remote branch
id: changed-files-since-last-remote-commit
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
since_last_remote_commit: "true"
- name: Run changed-files using the fork point of a pull request
id: changed-files-fork-point
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
use_fork_point: "true"
- name: Run changed-files with quotepath disabled
id: changed-files-quotepath
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
quotepath: "false"
@@ -308,7 +310,7 @@ Support this project with a :star:
- name: Run changed-files with the commit of the last successful test workflow run
id: changed-files-base-sha-push
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }}
@@ -329,20 +331,20 @@ Support this project with a :star:
- name: Run changed-files with the commit of the last successful test workflow run on main
if: github.event_name == 'pull_request'
id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.commit_hash }}
- name: Run changed-files with dir_names
id: changed-files-dir-names
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
dir_names: "true"
# All outputs are JSON formatted arrays and can be used in other actions and matrix compatible jobs.
- name: Run changed-files with json output
id: changed-files-json
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
json: "true"
```
@@ -395,7 +397,7 @@ With the switch from using grep's Extended regex to match files to the natively
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
files: |
*.sh
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -179,7 +179,7 @@ runs:
INPUT_PATH: ${{ inputs.path }}
INPUT_USE_FORK_POINT: ${{ inputs.use_fork_point }}
- name: Glob match
uses: tj-actions/glob@v9.2
uses: tj-actions/glob@v10
id: glob
with:
files: ${{ inputs.files }}