You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ jobs:
36
36
runs-on: ubuntu-latest
37
37
steps:
38
38
- uses: actions/checkout@v4
39
-
- uses: bufbuild/buf-action@v0.2
39
+
- uses: bufbuild/buf-action@v0.3
40
40
with:
41
41
token: ${{ secrets.BUF_TOKEN }}
42
42
```
@@ -56,7 +56,7 @@ To customize the behavior of the action, you can set the following parameters in
56
56
Add these parameters under the `with` section of the `uses` step in the workflow file.
57
57
58
58
```yaml
59
-
- uses: bufbuild/buf-action@v0.2
59
+
- uses: bufbuild/buf-action@v0.3
60
60
with:
61
61
...
62
62
```
@@ -101,7 +101,7 @@ To disable parts of the workflow, each step corresponds to a boolean flag in the
101
101
For example to disable formatting set the parameter `format` to `false`:
102
102
103
103
```yaml
104
-
- uses: bufbuild/buf-action@v0.2
104
+
- uses: bufbuild/buf-action@v0.3
105
105
with:
106
106
format: false
107
107
```
@@ -113,7 +113,7 @@ See [action.yml](action.yml) for all available parameters.
113
113
For reproducible builds, you can pin to an explicit version of `buf` by setting `version`.
114
114
115
115
```yaml
116
-
- uses: bufbuild/buf-action@v0.2
116
+
- uses: bufbuild/buf-action@v0.3
117
117
with:
118
118
version: 1.35.0
119
119
```
@@ -133,7 +133,7 @@ To authenticate with the BSR, set the API token as the parameter `token`.
133
133
Generate a token from the [BSR UI](https://buf.build/docs/bsr/authentication#create-an-api-token) and add it to the [repository secrets](https://docs.github.com/en/actions/reference/encrypted-secrets).
134
134
135
135
```yaml
136
-
- uses: bufbuild/buf-action@v0.2
136
+
- uses: bufbuild/buf-action@v0.3
137
137
with:
138
138
token: ${{ secrets.BUF_TOKEN }}
139
139
```
@@ -163,7 +163,7 @@ jobs:
163
163
runs-on: ubuntu-latest
164
164
steps:
165
165
- uses: actions/checkout@v4
166
-
- uses: bufbuild/buf-action@v0.2
166
+
- uses: bufbuild/buf-action@v0.3
167
167
with:
168
168
token: ${{ secrets.BUF_TOKEN }}
169
169
+ pr_comment: false
@@ -175,7 +175,7 @@ To run the action for parameters not declared at the root of the repository,
175
175
set the parameter `input` to the directory of your `buf.yaml` file.
176
176
177
177
```yaml
178
-
- uses: bufbuild/buf-action@v0.2
178
+
- uses: bufbuild/buf-action@v0.3
179
179
with:
180
180
input: <path/to/module>
181
181
```
@@ -184,7 +184,7 @@ Breaking change detection by default will use the `input` value as a subdirector
184
184
To customize this behavior, set the parameter `breaking_against` to the desired input.
@@ -243,7 +243,7 @@ To conditionally run checks based on user input, use the GitHub action context t
243
243
For example to disable breaking change detection on commits, create an expression on the parameter `breaking` to check the contents of the commit message:
0 commit comments