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/auto-doc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.0
Choose a base ref
...
head repository: tj-actions/auto-doc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.7.0
Choose a head ref

Commits on Dec 15, 2022

  1. Upgraded to v1.6.0 (#379)

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

    Verified

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

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

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3ce246c View commit details
  4. Updated README.md (#382)

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

    Verified

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

Commits on Dec 16, 2022

  1. Updated README.md (#384)

    Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    3 people authored Dec 16, 2022
    Copy the full SHA
    b41ebfd View commit details
  2. Updated README.md (#385)

    Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    3 people authored Dec 16, 2022
    Copy the full SHA
    e0118be View commit details
  3. Updated README.md (#386)

    Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    3 people authored Dec 16, 2022
    Copy the full SHA
    34ebed9 View commit details
  4. Updated README.md (#387)

    Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    3 people authored Dec 16, 2022
    Copy the full SHA
    bd3389d View commit details
  5. Delete update-readme.yml

    jackton1 authored Dec 16, 2022
    Copy the full SHA
    6c24266 View commit details
  6. Updated README.md (#388)

    Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    3 people authored Dec 16, 2022
    Copy the full SHA
    1c5df2f View commit details

Commits on Dec 28, 2022

  1. Copy the full SHA
    d50b5f3 View commit details

Commits on Dec 30, 2022

  1. Update action.yml

    jackton1 authored Dec 30, 2022
    Copy the full SHA
    dde2d06 View commit details
  2. chore: update readme

    jackton1 authored Dec 30, 2022
    Copy the full SHA
    07abd19 View commit details
  3. Merge 07abd19 into dde2d06

    jackton1 authored Dec 30, 2022
    Copy the full SHA
    7f53368 View commit details
  4. Updated README.

    github-actions[bot] committed Dec 30, 2022
    Copy the full SHA
    6b40971 View commit details
  5. Merge pull request #390 from tj-actions/chore/update-readme

    chore: update readme
    repo-ranger[bot] authored Dec 30, 2022
    Copy the full SHA
    73af155 View commit details
  6. chore: add support to skip adding br tags to links or code (#392)

    Co-authored-by: GitHub Action <action@github.com>
    jackton1 and actions-user authored Dec 30, 2022
    Copy the full SHA
    c17c3df View commit details
  7. chore: add support to skip adding br tags to links or code (#394)

    Co-authored-by: GitHub Action <action@github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    3 people authored Dec 30, 2022
    Copy the full SHA
    1926ef3 View commit details
  8. Update action.yml

    jackton1 authored Dec 30, 2022
    Copy the full SHA
    cb49714 View commit details
  9. chore: update the default col_max_words (#393)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: GitHub Action <action@github.com>
    3 people authored Dec 30, 2022
    Copy the full SHA
    cd20d96 View commit details
  10. chore/update default (#395)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    jackton1 and github-actions[bot] authored Dec 30, 2022
    Copy the full SHA
    c4b295d View commit details
4 changes: 2 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ jobs:
filename: coverage.out

- name: Verify Changed files
uses: tj-actions/verify-changed-files@v12
uses: tj-actions/verify-changed-files@v13
id: verify-changed-files
with:
files: README.md
@@ -56,5 +56,5 @@ jobs:
if: steps.verify-changed-files.outputs.files_changed == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ github.token }}
github_token: ${{ secrets.PAT_TOKEN }}
branch: ${{ github.head_ref }}
2 changes: 1 addition & 1 deletion .github/workflows/format-tidy.yml
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ jobs:
make tidy

- name: Verify Changed files
uses: tj-actions/verify-changed-files@v12
uses: tj-actions/verify-changed-files@v13
id: verify-changed-files
with:
files: |
2 changes: 1 addition & 1 deletion .github/workflows/sync-release-version.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
paths: |
README.md
- name: Generate CHANGELOG
uses: tj-actions/github-changelog-generator@v1.15
uses: tj-actions/github-changelog-generator@v1.17
with:
output: 'HISTORY.md'
- name: Create Pull Request
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -104,9 +104,9 @@ jobs:
platform: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v3.2.0
uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token

- name: Setup go
@@ -142,7 +142,7 @@ jobs:
uses: tj-actions/remark@v3

- name: Verify Changed files
uses: tj-actions/verify-changed-files@v12
uses: tj-actions/verify-changed-files@v13
id: verify-changed-files
with:
files: |
42 changes: 0 additions & 42 deletions .github/workflows/update-readme.yml

This file was deleted.

20 changes: 16 additions & 4 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,31 @@
# Changelog

## [v1.5.0](https://github.com/tj-actions/auto-doc/tree/v1.5.0) (2022-12-03)
## [v1.6.0](https://github.com/tj-actions/auto-doc/tree/v1.6.0) (2022-12-15)

[Full Changelog](https://github.com/tj-actions/auto-doc/compare/v1...v1.5.0)
[Full Changelog](https://github.com/tj-actions/auto-doc/compare/v1...v1.6.0)

## [v1](https://github.com/tj-actions/auto-doc/tree/v1) (2022-12-03)
## [v1](https://github.com/tj-actions/auto-doc/tree/v1) (2022-12-15)

[Full Changelog](https://github.com/tj-actions/auto-doc/compare/v1.4.3...v1)
[Full Changelog](https://github.com/tj-actions/auto-doc/compare/v1.5.0...v1)

**Closed issues:**

- Dependency Dashboard [\#2](https://github.com/tj-actions/auto-doc/issues/2)

**Merged pull requests:**

- chore: update the default col max words [\#378](https://github.com/tj-actions/auto-doc/pull/378) ([jackton1](https://github.com/jackton1))
- Update goreleaser/goreleaser-action action to v4 [\#377](https://github.com/tj-actions/auto-doc/pull/377) ([renovate[bot]](https://github.com/apps/renovate))
- Update actions/checkout action to v3.2.0 [\#376](https://github.com/tj-actions/auto-doc/pull/376) ([renovate[bot]](https://github.com/apps/renovate))
- Update tj-actions/auto-doc action to v1.5.0 [\#375](https://github.com/tj-actions/auto-doc/pull/375) ([renovate[bot]](https://github.com/apps/renovate))
- Upgraded to v1.5.0 [\#374](https://github.com/tj-actions/auto-doc/pull/374) ([jackton1](https://github.com/jackton1))

## [v1.5.0](https://github.com/tj-actions/auto-doc/tree/v1.5.0) (2022-12-03)

[Full Changelog](https://github.com/tj-actions/auto-doc/compare/v1.4.3...v1.5.0)

**Merged pull requests:**

- chore: update test.yml [\#373](https://github.com/tj-actions/auto-doc/pull/373) ([jackton1](https://github.com/jackton1))
- feat: switch to use a temp dir [\#372](https://github.com/tj-actions/auto-doc/pull/372) ([jackton1](https://github.com/jackton1))
- Update peter-evans/create-pull-request action to v4.2.3 [\#371](https://github.com/tj-actions/auto-doc/pull/371) ([renovate[bot]](https://github.com/apps/renovate))
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/bb5dc10c1d2645c0894fa6774300639b)](https://app.codacy.com/gh/tj-actions/auto-doc?utm_source=github.com\&utm_medium=referral\&utm_content=tj-actions/auto-doc\&utm_campaign=Badge_Grade_Settings)
![Coverage](https://img.shields.io/badge/Coverage-84.1%25-brightgreen)
![Coverage](https://img.shields.io/badge/Coverage-82.4%25-brightgreen)
[![Go Reference](https://pkg.go.dev/badge/github.com/tj-actions/auto-doc.svg)](https://pkg.go.dev/github.com/tj-actions/auto-doc)
[![Go Report Card](https://goreportcard.com/badge/github.com/tj-actions/auto-doc)](https://goreportcard.com/report/github.com/tj-actions/auto-doc)
[![CI](https://github.com/tj-actions/auto-doc/workflows/CI/badge.svg)](https://github.com/tj-actions/auto-doc/actions?query=workflow%3ACI)
@@ -42,15 +42,15 @@ Add the `Inputs` and/or `Outputs` [`H2` header](https://github.com/adam-p/markdo
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|----------------|--------|----------|----------------|-----------------------------------------------------------------------------|
| action | string | false | `"action.yml"` | Path to the action.yml file<br> |
| bin\_path | string | false | | Path to the auto-doc binary<br> |
| col\_max\_width | string | false | `"1000"` | Max width of a column<br> |
| col\_max\_words | string | false | `"7"` | Max number of words per<br>line in a column |
| input\_columns | string | false | | List of Input columns names<br>to display, default (display all<br>columns) |
| output | string | false | `"README.md"` | Path to the output file<br> |
| output\_columns | string | false | | List of Output column names<br>to display, default (display all<br>columns) |
| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|----------------|--------|----------|----------------|--------------------------------------------------------------------------|
| action | string | false | `"action.yml"` | Path to the action.yml file |
| bin\_path | string | false | | Path to the auto-doc binary |
| col\_max\_width | string | false | `"1000"` | Max width of a column |
| col\_max\_words | string | false | `"6"` | Max number of words per line<br>in a column |
| input\_columns | string | false | | List of Input columns names to<br>display, default (display all columns) |
| output | string | false | `"README.md"` | Path to the output file |
| output\_columns | string | false | | List of Output column names to<br>display, default (display all columns) |
<!-- AUTO-DOC-INPUT:END -->
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ inputs:
col_max_words:
description: 'Max number of words per line in a column'
required: false
default: '7'
default: '6'
output:
description: 'Path to the output file'
required: false
20 changes: 16 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ import (
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"
"io/ioutil"
"regexp"
"sort"
"strconv"
"strings"
@@ -351,7 +352,7 @@ func RootCmdFlags(cmd *cobra.Command) {
cmd.Flags().StringVar(
&colMaxWords,
"colMaxWords",
"5",
"6",
"Max number of words per line in a column",
)
cmd.Flags().StringArrayVar(
@@ -402,6 +403,11 @@ func wordWrap(s string, limit int) string {
if strings.TrimSpace(s) == "" {
return s
}
// compile regular expressions for Markdown links and code blocks and code
linkRegex := regexp.MustCompile(`\[.*]\(.*\)`)
codeBlockRegex := regexp.MustCompile(`\` + "```" + `.*` + "```" + `\s*`)
codeRegex := regexp.MustCompile("`.*`")

// convert string to slice
strSlice := strings.Fields(s)
currentLimit := limit
@@ -411,11 +417,17 @@ func wordWrap(s string, limit int) string {
for len(strSlice) >= 1 {
// convert slice/array back to string
// but insert <br> at specified limit
// unless the current slice contains a Markdown link or code block or code
hasMore := len(strSlice) > currentLimit

if hasMore && len(result) > 0 {
result += " "
}

if len(strSlice) < currentLimit {
currentLimit = len(strSlice)
result = result + strings.Join(strSlice[:currentLimit], " ")
} else if currentLimit == limit {
} else if currentLimit == limit && !linkRegex.MatchString(strings.Join(strSlice[:currentLimit], " ")) && !codeBlockRegex.MatchString(strings.Join(strSlice[:currentLimit], " ")) && !codeRegex.MatchString(strings.Join(strSlice[:currentLimit], " ")) {
result = result + strings.Join(strSlice[:currentLimit], " ") + "<br>"
} else {
result = result + strings.Join(strSlice[:currentLimit], " ")
@@ -430,7 +442,7 @@ func wordWrap(s string, limit int) string {
if len(strSlice) < currentLimit {
currentLimit = len(strSlice)
}

}
return result

return strings.TrimSpace(result)
}
77 changes: 51 additions & 26 deletions test/README-inputColumns.md

Large diffs are not rendered by default.

43 changes: 34 additions & 9 deletions test/README-outputColumns.md
Original file line number Diff line number Diff line change
@@ -4,15 +4,34 @@

<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|----------------|--------|----------|------------------------------------|-------------------------------------------------------------------------------------|
| base_sha | string | false | | Specify a base commit SHA<br>used for comparing changes |
| files | string | false | `"README.md"`<br>`"README.md"`<br> | Check for changes using only<br>this list of files (Defaults<br>to the entire repo) |
| path | string | false | | Specify a relative path under<br>$GITHUB_WORKSPACE to locate the repository<br> |
| path_separator | string | false | `"\n"` | Path separator |
| separator | string | true | `"\|"` | Split character for array output<br> |
| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA<br>used for comparing changes |
| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped<br>Personal Access Token |
| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|-----------------------------------|--------|----------|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| base_sha | string | false | | Specify a different base commit SHA<br>used for comparing changes |
| diff_relative | string | false | | Exclude changes outside the current directory<br> and show path names relative to<br> it. **NOTE:** This requires you to<br> specify the top level directory via<br>the `path` input. |
| dir_names | string | false | `"false"` | Output unique changed directories instead of<br> filenames. **NOTE:** This returns `.` for changed files located in the root<br>of the project. |
| dir_names_max_depth | string | false | | Maximum depth of directories to output.<br> e.g `test/test1/test2` with max depth of`2` returns `test/test1`. |
| fetch_depth | string | false | `"50"` | Depth of additional branch history fetched.<br> **NOTE**: This can be adjusted to<br>resolve errors with insufficient history. |
| files | string | false | | File and directory patterns to detect<br> changes using only these list of<br> file(s) (Defaults to the entire repo)<br> **NOTE:** Multiline file/directory patterns should not<br>include quotes. |
| files_from_source_file | string | false | | Source file(s) used to populate the<br>`files` input. |
| files_ignore | string | false | | Ignore changes to these file(s) **NOTE:**<br> Multiline file/directory patterns should not include<br>quotes. |
| files_ignore_from_source_file | string | false | | Source file(s) used to populate the<br>`files_ignore` input |
| files_ignore_separator | string | false | `"\n"` | Separator used to split the `files_ignore`input |
| files_separator | string | false | `"\n"` | Separator used to split the `files`input |
| include_all_old_new_renamed_files | string | false | `"false"` | Include `all_old_new_renamed_files` output. Note this cangenerate a large output See: [#501](https://github.com/tj-actions/changed-files/issues/501). |
| json | string | false | `"false"` | Output list of changed files in<br> a JSON formatted string which can<br>be used for matrix jobs. |
| json_raw_format | string | false | `"false"` | Output list of changed files in<br> a raw format which means that<br> the output will not be surrounded<br> by quotes and special characters will<br>not be escaped. |
| match_directories | string | false | `"true"` | Indicates whether to include match directories<br> |
| old_new_files_separator | string | false | `" "` | Split character for old and new<br>renamed filename pairs. |
| old_new_separator | string | false | `","` | Split character for old and new<br>filename pairs. |
| output_dir | string | false | `".github/outputs"` | Directory to store output files. |
| path | string | false | `"."` | Specify a relative path under `$GITHUB_WORKSPACE`to locate the repository. |
| quotepath | string | false | `"true"` | Use non ascii characters to match<br> files and output the filenames completely<br>verbatim by setting this to `false` |
| separator | string | false | `" "` | Split character for output strings |
| sha | string | false | | Specify a different commit SHA used<br>for comparing changes |
| since | string | false | | Get changed files for commits whose<br> timestamp is older than the given<br>time. |
| since_last_remote_commit | string | true | `"false"` | Use the last commit on the<br> remote branch as the `base_sha`. Defaults to the last non merge commit<br> on the target branch for pull<br> request events and the previous remote<br> commit of the current branch for<br>push events. |
| until | string | false | | Get changed files for commits whose<br> timestamp is earlier than the given<br>time. |
| write_output_files | string | false | `"false"` | Write outputs to files in the<br>`.github/outputs` folder by default. |

<!-- AUTO-DOC-INPUT:END -->

@@ -24,15 +43,21 @@
|--------------------------------|--------|
| added_files | string |
| all_changed_and_modified_files | string |
| all_changed_files | string |
| all_modified_files | string |
| all_old_new_renamed_files | string |
| any_changed | string |
| any_deleted | string |
| any_modified | string |
| copied_files | string |
| deleted_files | string |
| modified_files | string |
| only_changed | string |
| only_deleted | string |
| only_modified | string |
| other_changed_files | string |
| other_deleted_files | string |
| other_modified_files | string |
| renamed_files | string |
| type_changed_files | string |
| unknown_files | string |
77 changes: 51 additions & 26 deletions test/README.md

Large diffs are not rendered by default.

196 changes: 144 additions & 52 deletions test/action.yml
Original file line number Diff line number Diff line change
@@ -1,82 +1,174 @@
name: Changed files
description: Get all changed files for push and pull request events.
name: Changed Files
description: Get all Added, Copied, Modified, Deleted, Renamed, Type changed, Unmerged, Unknown files.
author: tj-actions

inputs:
token:
description: 'Github token or Repo Scoped Personal Access Token'
required: true
default: ${{ github.token }}
separator:
description: 'Split character for array output'
required: true
default: "|"
description: "Split character for output strings"
required: false
default: " "
include_all_old_new_renamed_files:
description: "Include `all_old_new_renamed_files` output. Note this can generate a large output See: [#501](https://github.com/tj-actions/changed-files/issues/501)."
required: false
default: "false"
old_new_separator:
description: "Split character for old and new filename pairs."
required: false
default: ","
old_new_files_separator:
description: "Split character for old and new renamed filename pairs."
required: false
default: " "
files_from_source_file:
description: "Source file(s) used to populate the `files` input."
required: false
default: ""
files:
description: 'Check for changes using only this list of files (Defaults to the entire repo)'
description: "File and directory patterns to detect changes using only these list of file(s) (Defaults to the entire repo) **NOTE:** Multiline file/directory patterns should not include quotes."
required: false
default: |
README.md
README.md
default: ""
files_separator:
description: "Separator used to split the `files` input"
default: "\n"
required: false
files_ignore:
description: "Ignore changes to these file(s) **NOTE:** Multiline file/directory patterns should not include quotes."
required: false
default: ""
files_ignore_separator:
description: "Separator used to split the `files_ignore` input"
default: "\n"
required: false
files_ignore_from_source_file:
description: "Source file(s) used to populate the `files_ignore` input"
required: false
default: ""
sha:
description: 'Specify a current commit SHA used for comparing changes'
required: true
default: ${{ github.sha }}
description: "Specify a different commit SHA used for comparing changes"
required: false
base_sha:
description: 'Specify a base commit SHA used for comparing changes'
description: "Specify a different base commit SHA used for comparing changes"
required: false
since:
description: "Get changed files for commits whose timestamp is older than the given time."
required: false
default: ""
until:
description: "Get changed files for commits whose timestamp is earlier than the given time."
required: false
default: ""
path:
description: 'Specify a relative path under $GITHUB_WORKSPACE to locate the repository'
description: "Specify a relative path under `$GITHUB_WORKSPACE` to locate the repository."
required: false
path_separator:
description: 'Path separator'
default: "."
quotepath:
description: "Use non ascii characters to match files and output the filenames completely verbatim by setting this to `false`"
default: "true"
required: false
diff_relative:
description: "Exclude changes outside the current directory and show path names relative to it. **NOTE:** This requires you to specify the top level directory via the `path` input."
required: false
dir_names:
default: "false"
description: "Output unique changed directories instead of filenames. **NOTE:** This returns `.` for changed files located in the root of the project."
required: false
dir_names_max_depth:
description: "Maximum depth of directories to output. e.g `test/test1/test2` with max depth of `2` returns `test/test1`."
required: false
json:
description: "Output list of changed files in a JSON formatted string which can be used for matrix jobs."
required: false
default: "false"
json_raw_format:
description: "Output list of changed files in a raw format which means that the output will not be surrounded by quotes and special characters will not be escaped."
required: false
default: "false"
fetch_depth:
description: "Depth of additional branch history fetched. **NOTE**: This can be adjusted to resolve errors with insufficient history."
required: false
default: "50"
since_last_remote_commit:
description: "Use the last commit on the remote branch as the `base_sha`. Defaults to the last non merge commit on the target branch for pull request events and the previous remote commit of the current branch for push events."
required: true
default: "false"
write_output_files:
description: "Write outputs to files in the `.github/outputs` folder by default."
required: false
default: "false"
output_dir:
description: "Directory to store output files."
required: false
default: ".github/outputs"
match_directories:
description: "Indicates whether to include match directories"
default: "true"
required: false
default: "\n"

outputs:
added_files:
description: List of added files.
value: ${{ steps.test.outputs.added_files }}
description: "Returns only files that are Added (A)."
value: ${{ steps.changed-files.outputs.added_files }}
copied_files:
description: List of copied files.
value: ${{ steps.test.outputs.copied_files }}
description: "Returns only files that are Copied (C)."
value: ${{ steps.changed-files.outputs.copied_files }}
deleted_files:
description: List of deleted files.
value: ${{ steps.test.outputs.deleted_files }}
description: "Returns only files that are Deleted (D)."
value: ${{ steps.changed-files.outputs.deleted_files }}
modified_files:
description: List of modified files.
value: ${{ steps.test.outputs.modified_files }}
description: "Returns only files that are Modified (M)."
value: ${{ steps.changed-files.outputs.modified_files }}
renamed_files:
description: List of renamed files.
value: ${{ steps.test.outputs.renamed_files }}
description: "Returns only files that are Renamed (R)."
value: ${{ steps.changed-files.outputs.renamed_files }}
all_old_new_renamed_files:
description: "Returns only files that are Renamed and list their old and new names. **NOTE:** This requires setting `include_all_old_new_renamed_files` to `true` (R)"
value: ${{ steps.changed-files.outputs.all_old_new_renamed_files }}
type_changed_files:
description: List of files that had type changes.
value: ${{ steps.test.outputs.type_changed_files }}
description: "Returns only files that have their file type changed (T)."
value: ${{ steps.changed-files.outputs.type_changed_files }}
unmerged_files:
description: List of unmerged files.
value: ${{ steps.test.outputs.unmerged_files }}
description: "Returns only files that are Unmerged (U)."
value: ${{ steps.changed-files.outputs.unmerged_files }}
unknown_files:
description: List of unknown files.
value: ${{ steps.test.outputs.unknown_files }}
description: "Returns only files that are Unknown (X)."
value: ${{ steps.changed-files.outputs.unknown_files }}
all_changed_and_modified_files:
description: List of all changed files.
value: ${{ steps.test.outputs.all_changed_and_modified_files }}
all_modified_files:
description: List of all copied modified and added files.
value: ${{ steps.test.outputs.all_modified_files }}
description: "Returns all changed and modified files i.e. *a combination of (ACMRDTUX)*"
value: ${{ steps.changed-files.outputs.all_changed_and_modified_files }}
all_changed_files:
description: "Returns all changed files i.e. *a combination of all added, copied, modified and renamed files (ACMR)*"
value: ${{ steps.changed-files.outputs.all_changed_files }}
any_changed:
description: Return true only when any files provided using the files input have changed.
value: ${{ steps.test.outputs.any_changed }}
description: "Returns `true` when any of the filenames provided using the `files` input has changed. If no `files` have been specified,an empty string `''` is returned. i.e. *using a combination of all added, copied, modified and renamed files (ACMR)*."
value: ${{ steps.changed-files.outputs.any_changed }}
only_changed:
description: Return true when all files provided using the files input have changed.
value: ${{ steps.test.outputs.only_changed }}
description: "Returns `true` when only files provided using the `files` input has changed. If no `files` have been specified,an empty string `''` is returned. i.e. *using a combination of all added, copied, modified and renamed files (ACMR)*."
value: ${{ steps.changed-files.outputs.only_changed }}
other_changed_files:
description: "Returns all other changed files not listed in the files input i.e. *using a combination of all added, copied, modified and renamed files (ACMR)*."
value: ${{ steps.changed-files.outputs.other_changed_files }}
all_modified_files:
description: "Returns all changed files i.e. *a combination of all added, copied, modified, renamed and deleted files (ACMRD)*."
value: ${{ steps.changed-files.outputs.all_modified_files }}
any_modified:
description: "Returns `true` when any of the filenames provided using the `files` input has been modified. If no `files` have been specified,an empty string `''` is returned. i.e. *using a combination of all added, copied, modified, renamed, and deleted files (ACMRD)*."
value: ${{ steps.changed-files.outputs.any_modified }}
only_modified:
description: "Returns `true` when only files provided using the `files` input has been modified. If no `files` have been specified,an empty string `''` is returned.(ACMRD)."
value: ${{ steps.changed-files.outputs.only_modified }}
other_modified_files:
description: "Returns all other modified files not listed in the files input i.e. *a combination of all added, copied, modified, and deleted files (ACMRD)*"
value: ${{ steps.changed-files.outputs.other_modified_files }}
any_deleted:
description: Return true only when any files provided using the files input have been deleted.
value: ${{ steps.test.outputs.any_deleted }}
description: "Returns `true` when any of the filenames provided using the `files` input has been deleted. If no `files` have been specified,an empty string `''` is returned. (D)"
value: ${{ steps.changed-files.outputs.any_deleted }}
only_deleted:
description: Return true when all files provided using the files input have been deleted.
value: ${{ steps.test.outputs.only_deleted }}
description: "Returns `true` when only files provided using the `files` input has been deleted. If no `files` have been specified,an empty string `''` is returned. (D)"
value: ${{ steps.changed-files.outputs.only_deleted }}
other_deleted_files:
description: Return list of deleted files not listed in the files input.
value: ${{ steps.test.outputs.other_deleted_files }}
description: "Returns all other deleted files not listed in the files input i.e. *a combination of all deleted files (D)*"
value: ${{ steps.changed-files.outputs.other_deleted_files }}


runs:
using: 'composite'