Skip to content

Commit

Permalink
followup on breaking changes output (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: Jef LeCompte <[email protected]>
  • Loading branch information
cyinma and jef authored Jun 27, 2022
1 parent 0bf3736 commit 66baa05
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/.tmp/
.idea/
.tmp/
.vscode/
node_modules/
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ Parameter | Description | Required | Default

> These parameters are derived from [`action.yml`](./action.yml).

### Output

| Parameter | Description |
|-----------|-------------------------------------------------------------------|
| `results` | The generated breaking change messages with the file annotations. |

### Constraints

For the `buf-breaking-action` to detect changes successfully, both the `input` and the `against`
Expand Down
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ inputs:
# https://docs.buf.build/inputs#specifying-an-input
input:
description: "The Input path. Defaults to the root of the current repository."
required: false
default: "."
# For more on "against" in breaking change detection:
# https://docs.buf.build/breaking/usage#run-breaking-change-detection
Expand All @@ -17,15 +18,18 @@ inputs:
required: true
buf_input_https_username:
description: "The username for the repository to check compatibility against."
required: false
default: ${{ github.actor }}
buf_input_https_password:
description: "The password for the repository to check compatibility against."
required: false
default: ${{ github.token }}
buf_token:
description: "The buf authentication token used for private inputs."
required: false
outputs:
results:
description: "The generated breaking change messages with the file annotations."
runs:
using: "node12"
using: "node16"
main: "./dist/main.js"

0 comments on commit 66baa05

Please sign in to comment.