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
@@ -56,7 +53,7 @@ To customize the behavior of the action, you can set the following parameters in
56
53
Add these parameters under the `with` section of the `uses` step in the workflow file.
57
54
58
55
```yaml
59
-
- uses: bufbuild/buf-action@v0.3
56
+
- uses: bufbuild/buf-action@v1
60
57
with:
61
58
...
62
59
```
@@ -101,7 +98,7 @@ To disable parts of the workflow, each step corresponds to a boolean flag in the
101
98
For example to disable formatting set the parameter `format` to `false`:
102
99
103
100
```yaml
104
-
- uses: bufbuild/buf-action@v0.3
101
+
- uses: bufbuild/buf-action@v1
105
102
with:
106
103
format: false
107
104
```
@@ -113,7 +110,7 @@ See [action.yml](action.yml) for all available parameters.
113
110
For reproducible builds, you can pin to an explicit version of `buf` by setting `version`.
114
111
115
112
```yaml
116
-
- uses: bufbuild/buf-action@v0.3
113
+
- uses: bufbuild/buf-action@v1
117
114
with:
118
115
version: 1.35.0
119
116
```
@@ -133,7 +130,7 @@ To authenticate with the BSR, set the API token as the parameter `token`.
133
130
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
131
135
132
```yaml
136
-
- uses: bufbuild/buf-action@v0.3
133
+
- uses: bufbuild/buf-action@v1
137
134
with:
138
135
token: ${{ secrets.BUF_TOKEN }}
139
136
```
@@ -163,7 +160,7 @@ jobs:
163
160
runs-on: ubuntu-latest
164
161
steps:
165
162
- uses: actions/checkout@v4
166
-
- uses: bufbuild/buf-action@v0.3
163
+
- uses: bufbuild/buf-action@v1
167
164
with:
168
165
token: ${{ secrets.BUF_TOKEN }}
169
166
+ pr_comment: false
@@ -175,7 +172,7 @@ To run the action for parameters not declared at the root of the repository,
175
172
set the parameter `input` to the directory of your `buf.yaml` file.
176
173
177
174
```yaml
178
-
- uses: bufbuild/buf-action@v0.3
175
+
- uses: bufbuild/buf-action@v1
179
176
with:
180
177
input: <path/to/module>
181
178
```
@@ -184,7 +181,7 @@ Breaking change detection by default will use the `input` value as a subdirector
184
181
To customize this behavior, set the parameter `breaking_against` to the desired input.
@@ -243,7 +240,7 @@ To conditionally run checks based on user input, use the GitHub action context t
243
240
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