@@ -51,7 +51,7 @@ This action will perform a checkout with the GitHub App credentials.
51
51
52
52
` ` ` yaml
53
53
- name : secure-checkout
54
- uses : mongodb-labs/drivers-github-tools/secure-checkout@v2
54
+ uses : mongodb-labs/drivers-github-tools/secure-checkout@v3
55
55
with :
56
56
app_id : ${{ vars.APP_ID }}
57
57
private_key : ${{ secrets.APP_PRIVATE_KEY }}
@@ -65,13 +65,13 @@ used with the `gh` cli.
65
65
66
66
There is a common setup action that is meant to be run before all
67
67
other actions. It handles fetching secrets from AWS Secrets Manager,
68
- signing into Artifactory , setting up Garasign credentials, and
68
+ signing into ECR , setting up Garasign credentials, and
69
69
setting up environment variables used in other actions.
70
70
The action requires `id-token : write` permissions.
71
71
72
72
` ` ` yaml
73
73
- name: setup
74
- uses: mongodb-labs/drivers-github-tools/setup@v2
74
+ uses: mongodb-labs/drivers-github-tools/setup@v3
75
75
with:
76
76
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
77
77
aws_region_name: ${{ vars.AWS_REGION_NAME }}
@@ -84,9 +84,8 @@ The action requires `id-token: write` permissions.
84
84
> `actions/checkout action`
85
85
>
86
86
> The following keys MUST be defined in the ``AWS_SECRET_ID`` vault:
87
- > `artifactory-username`, `artifactory-password`, `garasign-username`
88
- > `garasign-password`, `gpg-key-id`. If uploading to an S3 bucket, also define
89
- > `release-assets-bucket`.
87
+ > `garasign-username`, `garasign-password`, `gpg-key-id`.
88
+ > If uploading to an S3 bucket, also define `release-assets-bucket`.
90
89
91
90
# # Signing tools
92
91
@@ -98,17 +97,17 @@ Use this action to create signed git artifacts:
98
97
99
98
` ` ` yaml
100
99
- name: Setup
101
- uses: mongodb-labs/drivers-github-tools/setup@v2
100
+ uses: mongodb-labs/drivers-github-tools/setup@v3
102
101
with:
103
102
...
104
103
105
104
- name: Create signed commit
106
- uses: mongodb-labs/drivers-github-tools/git-sign@v2
105
+ uses: mongodb-labs/drivers-github-tools/git-sign@v3
107
106
with:
108
107
command: "git commit -m 'Commit' -s --gpg-sign=${{ env.GPG_KEY_ID }}"
109
108
110
109
- name: Create signed tag
111
- uses: mongodb-labs/drivers-github-tools/git-sign@v2
110
+ uses: mongodb-labs/drivers-github-tools/git-sign@v3
112
111
with:
113
112
command: "git tag -m 'Tag' -s --local-user=${{ env.GPG_KEY_ID }} -a <tag>"
114
113
` ` `
@@ -122,7 +121,7 @@ an argument and update the version accordingly.
122
121
123
122
` ` ` yaml
124
123
- name: Bump version
125
- uses: mongodb-labs/drivers-github-tools/bump-version@v2
124
+ uses: mongodb-labs/drivers-github-tools/bump-version@v3
126
125
with:
127
126
version: ${{ inputs.version }}
128
127
version_bump_script: "bash ./my-bump-version-script.sh"
@@ -136,7 +135,7 @@ tag message format if desired.
136
135
137
136
` ` ` yaml
138
137
- name: Tag version
139
- uses: mongodb-labs/drivers-github-tools/tag-version@v2
138
+ uses: mongodb-labs/drivers-github-tools/tag-version@v3
140
139
with:
141
140
version: ${{ inputs.version }}
142
141
` ` `
@@ -147,12 +146,12 @@ This action is used to create detached signatures for files:
147
146
148
147
` ` ` yaml
149
148
- name: Setup
150
- uses: mongodb-labs/drivers-github-tools/setup@v2
149
+ uses: mongodb-labs/drivers-github-tools/setup@v3
151
150
with:
152
151
...
153
152
154
153
- name: Create detached signature
155
- uses: mongodb-labs/drivers-github-tools/gpg-sign@v2
154
+ uses: mongodb-labs/drivers-github-tools/gpg-sign@v3
156
155
with:
157
156
filenames: somefile.ext
158
157
` ` `
@@ -164,7 +163,7 @@ You can also supply a glob pattern to sign a group of files:
164
163
165
164
` ` ` yaml
166
165
- name: Setup
167
- uses: mongodb-labs/drivers-github-tools/setup@v2
166
+ uses: mongodb-labs/drivers-github-tools/setup@v3
168
167
with:
169
168
...
170
169
@@ -186,12 +185,12 @@ It will create the file `$S3_ASSETS/authorized_publication.txt`
186
185
187
186
` ` ` yaml
188
187
- name: Setup
189
- uses: mongodb-labs/drivers-github-tools/setup@v2
188
+ uses: mongodb-labs/drivers-github-tools/setup@v3
190
189
with:
191
190
...
192
191
193
192
- name: Create Authorized Publication Report
194
- uses: mongodb-labs/drivers-github-tools/authorized-pub@v2
193
+ uses: mongodb-labs/drivers-github-tools/authorized-pub@v3
195
194
with:
196
195
product_name: Mongo Python Driver
197
196
release_version: ${{ github.ref_name }}
@@ -205,12 +204,12 @@ This action will download an Augmented SBOM file in `$RELEASE_ASSETS/sbom.json`.
205
204
206
205
` ` ` yaml
207
206
- name: Setup
208
- uses: mongodb-labs/drivers-github-tools/setup@v2
207
+ uses: mongodb-labs/drivers-github-tools/setup@v3
209
208
with:
210
209
...
211
210
212
211
- name: Create SBOM
213
- uses: mongodb-labs/drivers-github-tools/sbom@v2
212
+ uses: mongodb-labs/drivers-github-tools/sbom@v3
214
213
with:
215
214
sbom_in_path: sbom.json
216
215
` ` `
@@ -223,12 +222,12 @@ working directory.
223
222
224
223
` ` ` yaml
225
224
- name: Setup
226
- uses: mongodb-labs/drivers-github-tools/setup@v2
225
+ uses: mongodb-labs/drivers-github-tools/setup@v3
227
226
with:
228
227
...
229
228
230
229
- name: Export Code Scanning Alerts
231
- uses: mongodb-labs/drivers-github-tools/code-scanning-export@v2
230
+ uses: mongodb-labs/drivers-github-tools/code-scanning-export@v3
232
231
` ` `
233
232
234
233
# ## Compliance Report
@@ -238,12 +237,12 @@ called `ssdlc_compliance_report.md`.
238
237
239
238
` ` ` yaml
240
239
- name: Setup
241
- uses: mongodb-labs/drivers-github-tools/setup@v2
240
+ uses: mongodb-labs/drivers-github-tools/setup@v3
242
241
with:
243
242
...
244
243
245
244
- name: Generate compliance report
246
- uses: mongodb-labs/drivers-github-tools/compliance-report@v2
245
+ uses: mongodb-labs/drivers-github-tools/compliance-report@v3
247
246
` ` `
248
247
249
248
There are several ways to specify the security report :
@@ -260,12 +259,12 @@ in the `S3_ASSETS` folder. This composite action runs the `authorized-pub`, `sbo
260
259
261
260
` ` ` yaml
262
261
- name: Setup
263
- uses: mongodb-labs/drivers-github-tools/setup@v2
262
+ uses: mongodb-labs/drivers-github-tools/setup@v3
264
263
with:
265
264
...
266
265
267
266
- name: Generate SSDLC Reports
268
- uses: mongodb-labs/drivers-github-tools/full-report@v2
267
+ uses: mongodb-labs/drivers-github-tools/full-report@v3
269
268
with:
270
269
product_name: winkerberos
271
270
release_version: ${{ inputs.version }}
@@ -280,12 +279,12 @@ be uploaded to the product's S3 bucket:
280
279
281
280
` ` ` yaml
282
281
- name: Setup
283
- uses: mongodb-labs/drivers-github-tools/setup@v2
282
+ uses: mongodb-labs/drivers-github-tools/setup@v3
284
283
with:
285
284
...
286
285
287
286
- name: Upload S3 assets
288
- uses: mongodb-labs/drivers-github-tools/upload-s3-assets@v2
287
+ uses: mongodb-labs/drivers-github-tools/upload-s3-assets@v3
289
288
with:
290
289
version: <release version>
291
290
product_name: <product_name>
@@ -305,12 +304,12 @@ prerelease version, and push the changes.
305
304
306
305
` ` ` yaml
307
306
- name: Setup
308
- uses: mongodb-labs/drivers-github-tools/setup@v2
307
+ uses: mongodb-labs/drivers-github-tools/setup@v3
309
308
with:
310
309
...
311
310
312
311
- name: Create Release Branch
313
- uses: mongodb-labs/drivers-github-tools/create-branch@v2
312
+ uses: mongodb-labs/drivers-github-tools/create-branch@v3
314
313
with:
315
314
# user inputs
316
315
branch: ...
@@ -333,7 +332,7 @@ Push the commit and tag to the source branch unless `dry_run` is set.
333
332
334
333
` ` ` yaml
335
334
- name: Setup
336
- uses: mongodb-labs/drivers-github-tools/setup@v2
335
+ uses: mongodb-labs/drivers-github-tools/setup@v3
337
336
with:
338
337
...
339
338
@@ -384,11 +383,11 @@ post-publish:
384
383
security-events: write
385
384
steps:
386
385
- name: Setup
387
- uses: mongodb-labs/drivers-github-tools/setup@v2
386
+ uses: mongodb-labs/drivers-github-tools/setup@v3
388
387
with:
389
388
...
390
389
391
- - uses: mongodb-labs/drivers-github-tools/python/post-publish@v2
390
+ - uses: mongodb-labs/drivers-github-tools/python/post-publish@v3
392
391
with:
393
392
version: ${{ inputs.version }}
394
393
following_version: ${{ inputs.following_version }}
@@ -411,7 +410,7 @@ Push the commit and tag to the source branch unless `dry_run` is set.
411
410
412
411
` ` ` yaml
413
412
- name: Setup
414
- uses: mongodb-labs/drivers-github-tools/setup@v2
413
+ uses: mongodb-labs/drivers-github-tools/setup@v3
415
414
with:
416
415
...
417
416
@@ -460,11 +459,11 @@ post-publish:
460
459
security-events: write
461
460
steps:
462
461
- name: Setup
463
- uses: mongodb-labs/drivers-github-tools/setup@v2
462
+ uses: mongodb-labs/drivers-github-tools/setup@v3
464
463
with:
465
464
...
466
465
467
- - uses: mongodb-labs/drivers-github-tools/python-labs/post-publish@v2
466
+ - uses: mongodb-labs/drivers-github-tools/python-labs/post-publish@v3
468
467
with:
469
468
following_version: ${{ inputs.following_version }}
470
469
version_bump_script: ./.github/scripts/bump-version.sh
0 commit comments