Skip to content

Commit

Permalink
chore(pkg): cleanup action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tmillr committed Dec 23, 2022
1 parent 8ada988 commit a480b07
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ This GitHub action automatically detects breaking changes by scanning the messag
<!-- prettier-ignore-start -->
| **Key** | **Description** | **Required** | **Default** |
| --- | --- | --- | --- |
| `token` | The token used for posting the comments (e.g. github.token). | `true` | |
| `issueNumber` | (integer) Issue to comment on for each breaking change commit found. May be combined with discussionNumber. | `false` | |
| `discussionNumber` | (integer) Discussion to comment on for each breaking change commit found. May be combined with issueNumber. | `false` | |
| `headerLevel` | (integer) Header level for the commit message title/subject (1-6, or false to disable header styling of commit title). | `false` | `3` |
| `token` | The token used for posting the comments (e.g. `github.token`). | `true` | |
| `issueNumber` | Issue to comment on for each breaking change commit found. May be combined with `discussionNumber`. (`integer`) | `false` | |
| `discussionNumber` | Discussion to comment on for each breaking change commit found. May be combined with `issueNumber`. (`integer`) | `false` | |
| `headerLevel` | Header level for the commit message title/subject (use `false` to disable header styling of commit title). (`1\|2\|3\|4\|5\|6\|false`) | `false` | `3` |
<!-- prettier-ignore-end -->

### Outputs

| **Key** | **Description** |
| ------- | ------------------------------------------------- |
| `found` | (boolean) Whether a breaking change was detected. |
| **Key** | **Description** |
| ------- | --------------------------------------------------- |
| `found` | Whether a breaking change was detected. (`boolean`) |

## Tips

Expand Down
32 changes: 16 additions & 16 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
name: 'Report Breaking Changes'
author: 'Tyler Miller'
description: 'Automatically update an issue and/or discussion with breaking changes.'
name: Report Breaking Changes
author: Tyler Miller
description: Automatically update an issue and/or discussion with breaking changes.

runs:
using: 'node16'
main: 'index.js'
using: node16
main: index.js
branding:
icon: 'cast'
color: 'red'
icon: cast
color: red

inputs:
token:
description: The token used for posting the comments (e.g. github.token).
description: The token used for posting the comments (e.g. `github.token`).
required: true
issueNumber:
description: >
(integer)
Issue to comment on for each breaking change commit found.
May be combined with discussionNumber.
May be combined with `discussionNumber`.
(`integer`)
required: false
default: ''
discussionNumber:
description: >
(integer)
Discussion to comment on for each breaking change commit found.
May be combined with issueNumber.
May be combined with `issueNumber`.
(`integer`)
required: false
default: ''
headerLevel:
description: >
(integer)
Header level for the commit message title/subject (1-6, or false to
Header level for the commit message title/subject (use `false` to
disable header styling of commit title).
(`1|2|3|4|5|6|false`)
required: false
default: '3'
default: 3

outputs:
found:
description: (boolean) Whether a breaking change was detected.
description: Whether a breaking change was detected. (`boolean`)

0 comments on commit a480b07

Please sign in to comment.