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.7.1
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.2
Choose a head ref
  • 3 commits
  • 6 files changed
  • 4 contributors

Commits on Dec 30, 2022

  1. Copy the full SHA
    1d9d667 View commit details
  2. Merge pull request #398 from tj-actions/upgrade-to-v1.7.1

    Upgraded to v1.7.1
    repo-ranger[bot] authored Dec 30, 2022

    Verified

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

Commits on Dec 31, 2022

  1. chore: update to remove trailing br tags (#399)

    Co-authored-by: GitHub Action <action@github.com>
    jackton1 and actions-user authored Dec 31, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    07fd015 View commit details
Showing with 25 additions and 13 deletions.
  1. +9 −0 HISTORY.md
  2. +1 −1 README.md
  3. +3 −0 cmd/root.go
  4. +5 −5 test/README-inputColumns.md
  5. +2 −2 test/README-outputColumns.md
  6. +5 −5 test/README.md
9 changes: 9 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Changelog

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

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

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

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

**Merged pull requests:**

- fix: bug with spacing [\#397](https://github.com/tj-actions/auto-doc/pull/397) ([jackton1](https://github.com/jackton1))
- Upgraded to v1.7.0 [\#396](https://github.com/tj-actions/auto-doc/pull/396) ([jackton1](https://github.com/jackton1))

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

[Full Changelog](https://github.com/tj-actions/auto-doc/compare/v1.6.0...v1.7.0)
2 changes: 1 addition & 1 deletion 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-82.2%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)
3 changes: 3 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -443,5 +443,8 @@ func wordWrap(s string, limit int) string {
}
}

// Remove trailing <br> if any
result = strings.TrimSuffix(result, "<br>")

return strings.TrimSpace(result)
}
10 changes: 5 additions & 5 deletions test/README-inputColumns.md
Original file line number Diff line number Diff line change
@@ -20,12 +20,12 @@
| include_all_old_new_renamed_files | string | Include `all_old_new_renamed_files` output. Note this can<br>generate a large output See: [#501](https://github.com/tj-actions/changed-files/issues/501). |
| json | string | Output list of changed files in<br> a JSON formatted string which can<br>be used for matrix jobs. |
| json_raw_format | string | 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 | Indicates whether to include match directories<br> |
| match_directories | string | Indicates whether to include match directories |
| old_new_files_separator | string | Split character for old and new<br>renamed filename pairs. |
| old_new_separator | string | Split character for old and new<br>filename pairs. |
| output_dir | string | Directory to store output files. |
| path | string | Specify a relative path under `$GITHUB_WORKSPACE`<br>to locate the repository. |
| quotepath | string | Use non ascii characters to match<br> files and output the filenames completely<br>verbatim by setting this to `false`<br> |
| quotepath | string | Use non ascii characters to match<br> files and output the filenames completely<br>verbatim by setting this to `false` |
| separator | string | Split character for output strings |
| sha | string | Specify a different commit SHA used<br>for comparing changes |
| since | string | Get changed files for commits whose<br> timestamp is older than the given<br>time. |
@@ -52,10 +52,10 @@
| copied_files | string | Returns only files that are Copied<br>(C). |
| deleted_files | string | Returns only files that are Deleted<br>(D). |
| modified_files | string | Returns only files that are Modified<br>(M). |
| only_changed | string | Returns `true` when only files provided<br> using the `files` input has changed.<br> If no `files` have been specified,an<br> empty string `''` is returned. i.e.<br> *using a combination of all added,<br>copied, modified and renamed files (ACMR)*.<br> |
| only_changed | string | Returns `true` when only files provided<br> using the `files` input has changed.<br> If no `files` have been specified,an<br> empty string `''` is returned. i.e.<br> *using a combination of all added,<br>copied, modified and renamed files (ACMR)*. |
| only_deleted | string | Returns `true` when only files provided<br> using the `files` input has been<br> deleted. If no `files` have been<br> specified,an empty string `''` is returned.<br>(D) |
| only_modified | string | Returns `true` when only files provided<br> using the `files` input has been<br> modified. If no `files` have been<br>specified,an empty string `''` is returned.(ACMRD).<br> |
| other_changed_files | string | Returns all other changed files not<br> listed in the files input i.e.<br> *using a combination of all added,<br>copied, modified and renamed files (ACMR)*.<br> |
| only_modified | string | Returns `true` when only files provided<br> using the `files` input has been<br> modified. If no `files` have been<br>specified,an empty string `''` is returned.(ACMRD). |
| other_changed_files | string | Returns all other changed files not<br> listed in the files input i.e.<br> *using a combination of all added,<br>copied, modified and renamed files (ACMR)*. |
| other_deleted_files | string | Returns all other deleted files not<br> listed in the files input i.e.<br> *a combination of all deleted files<br>(D)* |
| other_modified_files | string | Returns all other modified files not<br> listed in the files input i.e.<br> *a combination of all added, copied,<br>modified, and deleted files (ACMRD)* |
| renamed_files | string | Returns only files that are Renamed<br>(R). |
4 changes: 2 additions & 2 deletions test/README-outputColumns.md
Original file line number Diff line number Diff line change
@@ -20,12 +20,12 @@
| include_all_old_new_renamed_files | string | false | `"false"` | Include `all_old_new_renamed_files` output. Note this can<br>generate 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> |
| match_directories | string | false | `"true"` | Indicates whether to include match directories |
| 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`<br>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`<br> |
| 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. |
Loading