File tree 4 files changed +22
-13
lines changed
4 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- name : format
2
+ name : Format
3
3
4
4
on :
5
5
push :
6
6
branches-ignore :
7
- - master
7
+ - main
8
8
workflow_dispatch : {}
9
9
10
10
jobs :
11
- fix :
11
+ commit :
12
+ name : Format code
12
13
runs-on : ubuntu-latest
13
14
timeout-minutes : 30
14
15
steps :
15
16
- name : Checkout
16
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
17
18
with :
18
19
ref : ${{ github.head_ref }}
19
20
token : ${{ secrets.GH_TOKEN }}
20
21
- name : Import GPG key
21
- uses : crazy-max/ghaction-import-gpg@v5
22
+ uses : crazy-max/ghaction-import-gpg@v6
22
23
with :
23
24
git_user_signingkey : true
24
25
git_commit_gpgsign : true
31
32
- name : Format
32
33
run : npm run format
33
34
- name : Commit
34
- uses : stefanzweifel/git-auto-commit-action@v4
35
+ uses : stefanzweifel/git-auto-commit-action@v5
36
+ if : always()
35
37
with :
36
- commit_message : Run format
38
+ commit_message : Format code
37
39
commit_user_name : ${{ secrets.GIT_USER_NAME }}
38
40
commit_user_email : ${{ secrets.GIT_USER_EMAIL }}
39
41
commit_author : ${{ secrets.GIT_USER_NAME }} <${{ secrets.GIT_USER_EMAIL }}>
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/ )
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/ ) .
7
7
8
+ ## 1.3.0 / 2024-09-09
9
+
10
+ ### Added
11
+
12
+ - New config option ` checksumPrefix ` to support compatible distributions like Bento.
13
+
8
14
## 1.2.4 / 2022-11-28
9
15
10
16
- No changes.
Original file line number Diff line number Diff line change @@ -148,20 +148,22 @@ you can use the `include` property,
148
148
149
149
# ### Bento support
150
150
151
- If you need Serverless Bento, you can change `src` and `checksumPrefix` properties :
151
+ If you need Serverless [ Bento], set the `src` and `checksumPrefix` properties,
152
152
153
153
` ` ` json
154
154
{
155
155
"blobpack": {
156
156
"name": "benthos-lambda",
157
- "version": "4.10 .0",
157
+ "version": "1.2 .0",
158
158
"platform": "linux_amd64",
159
159
"checksumPrefix": "bento",
160
160
"src": "https://github.com/warpstreamlabs/bento/releases/download"
161
161
}
162
162
}
163
163
` ` `
164
164
165
+ [Bento] : https://warpstreamlabs.github.io/bento/
166
+
165
167
# ## CLI
166
168
167
169
```
Original file line number Diff line number Diff line change @@ -10,11 +10,10 @@ export const loadConfig = async (configPath) => {
10
10
)
11
11
}
12
12
13
- if ( typeof config . checksumPrefix === 'undefined' ) {
14
- config . checksumPrefix = 'benthos'
13
+ return {
14
+ ...config ,
15
+ checksumPrefix : config . checksumPrefix ?? 'benthos'
15
16
}
16
-
17
- return config
18
17
}
19
18
20
19
export const loadJson = async ( name ) => {
You can’t perform that action at this time.
0 commit comments