Skip to content

Commit

Permalink
Merge branch 'main' into chore/code-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Dec 19, 2022
2 parents 7b72a7c + d984765 commit 95dda62
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 31 deletions.
44 changes: 34 additions & 10 deletions HISTORY.md
@@ -1,5 +1,29 @@
# Changelog

## [v35.0.0](https://github.com/tj-actions/changed-files/tree/v35.0.0) (2022-12-19)

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

## [v35](https://github.com/tj-actions/changed-files/tree/v35) (2022-12-19)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.6.2...v35)

**Fixed bugs:**

- \[BUG\] Process completed with exit code 1 [\#884](https://github.com/tj-actions/changed-files/issues/884)
- \[BUG\] `changed-files` error during run [\#875](https://github.com/tj-actions/changed-files/issues/875)

**Closed issues:**

- How to see the changed files after the PR is merged ? [\#874](https://github.com/tj-actions/changed-files/issues/874)

**Merged pull requests:**

- Updated README.md [\#885](https://github.com/tj-actions/changed-files/pull/885) ([jackton1](https://github.com/jackton1))
- fix: error retrieving changed files [\#882](https://github.com/tj-actions/changed-files/pull/882) ([jackton1](https://github.com/jackton1))
- fix: fail when the merge base is not found [\#879](https://github.com/tj-actions/changed-files/pull/879) ([jackton1](https://github.com/jackton1))
- Upgraded to v34.6.2 [\#878](https://github.com/tj-actions/changed-files/pull/878) ([jackton1](https://github.com/jackton1))

## [v34.6.2](https://github.com/tj-actions/changed-files/tree/v34.6.2) (2022-12-16)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34...v34.6.2)
Expand Down Expand Up @@ -232,7 +256,7 @@

## [v34.3.3](https://github.com/tj-actions/changed-files/tree/v34.3.3) (2022-11-08)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.3.2...v34.3.3)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.3.1...v34.3.3)

**Fixed bugs:**

Expand All @@ -247,13 +271,13 @@
- chore: update readme [\#784](https://github.com/tj-actions/changed-files/pull/784) ([jackton1](https://github.com/jackton1))
- Upgraded to v34.3.2 [\#781](https://github.com/tj-actions/changed-files/pull/781) ([jackton1](https://github.com/jackton1))

## [v34.3.2](https://github.com/tj-actions/changed-files/tree/v34.3.2) (2022-11-07)
## [v34.3.1](https://github.com/tj-actions/changed-files/tree/v34.3.1) (2022-11-07)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.3.1...v34.3.2)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.3.2...v34.3.1)

## [v34.3.1](https://github.com/tj-actions/changed-files/tree/v34.3.1) (2022-11-07)
## [v34.3.2](https://github.com/tj-actions/changed-files/tree/v34.3.2) (2022-11-07)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.3.0...v34.3.1)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.3.0...v34.3.2)

**Fixed bugs:**

Expand Down Expand Up @@ -586,7 +610,7 @@

## [v31.0.0](https://github.com/tj-actions/changed-files/tree/v31.0.0) (2022-09-25)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v30...v31.0.0)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v30.0.0...v31.0.0)

**Merged pull requests:**

Expand All @@ -599,13 +623,13 @@
- chore: update broken link [\#642](https://github.com/tj-actions/changed-files/pull/642) ([jackton1](https://github.com/jackton1))
- Upgraded to v30.0.0 [\#641](https://github.com/tj-actions/changed-files/pull/641) ([jackton1](https://github.com/jackton1))

## [v30](https://github.com/tj-actions/changed-files/tree/v30) (2022-09-24)
## [v30.0.0](https://github.com/tj-actions/changed-files/tree/v30.0.0) (2022-09-24)

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

## [v30.0.0](https://github.com/tj-actions/changed-files/tree/v30.0.0) (2022-09-24)
## [v30](https://github.com/tj-actions/changed-files/tree/v30) (2022-09-24)

[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29.0.9...v30.0.0)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29.0.9...v30)

**Fixed bugs:**

Expand Down
41 changes: 20 additions & 21 deletions README.md
Expand Up @@ -63,7 +63,6 @@ on:
branches:
- main


jobs:
build:
runs-on: ubuntu-latest # windows-latest | macos-latest
Expand All @@ -76,7 +75,7 @@ jobs:
# Example 1
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35

- name: List all changed files
run: |
Expand All @@ -87,7 +86,7 @@ jobs:
# Example 2
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
files: |
docs/**
Expand Down Expand Up @@ -194,7 +193,7 @@ Support this project with a :star:
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
...
```

Expand All @@ -207,7 +206,7 @@ Support this project with a :star:
...
- name: Get all changed files and use a comma separator in the output
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
separator: ","
...
Expand All @@ -224,7 +223,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35

- name: List all added files
run: |
Expand All @@ -245,7 +244,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35

- name: Run a step if my-file.txt was modified
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
Expand All @@ -265,7 +264,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
files: |
my-file.txt
Expand All @@ -288,7 +287,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
files: |
my-file.txt
Expand Down Expand Up @@ -335,7 +334,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files using a source file or list of file(s) to populate to files input.
id: changed-files-specific-source-file
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
files_from_source_file: test/changed-files-list.txt
...
Expand All @@ -352,7 +351,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using 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@v34
uses: tj-actions/changed-files@v35
with:
files_from_source_file: |
test/changed-files-list.txt
Expand All @@ -373,7 +372,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a different SHA
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
sha: ${{ github.event.pull_request.head.sha }}
...
Expand All @@ -390,7 +389,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a different base SHA
id: changed-files
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
base_sha: ${{ github.event.pull_request.base.sha }}
...
Expand All @@ -413,7 +412,7 @@ See [inputs](#inputs) for more information.

- name: Run changed-files with defaults in dir1
id: changed-files-for-dir1
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
path: dir1

Expand All @@ -436,7 +435,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with quotepath disabled
id: changed-files-quotepath
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
quotepath: "false"

Expand Down Expand Up @@ -475,7 +474,7 @@ See [inputs](#inputs) for more information.

- 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@v34
uses: tj-actions/changed-files@v35
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
...
Expand All @@ -502,7 +501,7 @@ See [inputs](#inputs) for more information.

- name: Run changed-files with the commit of the last successful test workflow run on main
id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
...
Expand All @@ -526,7 +525,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with dir_names
id: changed-files-dir-names
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
dir_names: "true"
...
Expand All @@ -543,7 +542,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with json output
id: changed-files-json
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
json: "true"
...
Expand All @@ -560,13 +559,13 @@ See [inputs](#inputs) for more information.
...
- name: Get changed-files since 2022-08-19
id: changed-files-since
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
since: "2022-08-19"

- name: Get changed-files until 2022-08-20
id: changed-files-until
uses: tj-actions/changed-files@v34
uses: tj-actions/changed-files@v35
with:
until: "2022-08-20"
...
Expand Down

0 comments on commit 95dda62

Please sign in to comment.