@@ -51,7 +51,7 @@ This action will perform a checkout with the GitHub App credentials.
5151
5252` ` ` yaml
5353- name : secure-checkout
54- uses : mongodb-labs/drivers-github-tools/secure-checkout@v2
54+ uses : mongodb-labs/drivers-github-tools/secure-checkout@v3
5555 with :
5656 app_id : ${{ vars.APP_ID }}
5757 private_key : ${{ secrets.APP_PRIVATE_KEY }}
@@ -65,13 +65,13 @@ used with the `gh` cli.
6565
6666There is a common setup action that is meant to be run before all
6767other 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
6969setting up environment variables used in other actions.
7070The action requires `id-token : write` permissions.
7171
7272` ` ` yaml
7373- name: setup
74- uses: mongodb-labs/drivers-github-tools/setup@v2
74+ uses: mongodb-labs/drivers-github-tools/setup@v3
7575 with:
7676 aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
7777 aws_region_name: ${{ vars.AWS_REGION_NAME }}
@@ -84,9 +84,8 @@ The action requires `id-token: write` permissions.
8484> `actions/checkout action`
8585>
8686> 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`.
9089
9190# # Signing tools
9291
@@ -98,17 +97,17 @@ Use this action to create signed git artifacts:
9897
9998` ` ` yaml
10099- name: Setup
101- uses: mongodb-labs/drivers-github-tools/setup@v2
100+ uses: mongodb-labs/drivers-github-tools/setup@v3
102101 with:
103102 ...
104103
105104- name: Create signed commit
106- uses: mongodb-labs/drivers-github-tools/git-sign@v2
105+ uses: mongodb-labs/drivers-github-tools/git-sign@v3
107106 with:
108107 command: "git commit -m 'Commit' -s --gpg-sign=${{ env.GPG_KEY_ID }}"
109108
110109- name: Create signed tag
111- uses: mongodb-labs/drivers-github-tools/git-sign@v2
110+ uses: mongodb-labs/drivers-github-tools/git-sign@v3
112111 with:
113112 command: "git tag -m 'Tag' -s --local-user=${{ env.GPG_KEY_ID }} -a <tag>"
114113` ` `
@@ -122,7 +121,7 @@ an argument and update the version accordingly.
122121
123122` ` ` yaml
124123- name: Bump version
125- uses: mongodb-labs/drivers-github-tools/bump-version@v2
124+ uses: mongodb-labs/drivers-github-tools/bump-version@v3
126125 with:
127126 version: ${{ inputs.version }}
128127 version_bump_script: "bash ./my-bump-version-script.sh"
@@ -136,7 +135,7 @@ tag message format if desired.
136135
137136` ` ` yaml
138137- name: Tag version
139- uses: mongodb-labs/drivers-github-tools/tag-version@v2
138+ uses: mongodb-labs/drivers-github-tools/tag-version@v3
140139 with:
141140 version: ${{ inputs.version }}
142141` ` `
@@ -147,12 +146,12 @@ This action is used to create detached signatures for files:
147146
148147` ` ` yaml
149148- name: Setup
150- uses: mongodb-labs/drivers-github-tools/setup@v2
149+ uses: mongodb-labs/drivers-github-tools/setup@v3
151150 with:
152151 ...
153152
154153- name: Create detached signature
155- uses: mongodb-labs/drivers-github-tools/gpg-sign@v2
154+ uses: mongodb-labs/drivers-github-tools/gpg-sign@v3
156155 with:
157156 filenames: somefile.ext
158157` ` `
@@ -164,7 +163,7 @@ You can also supply a glob pattern to sign a group of files:
164163
165164` ` ` yaml
166165- name: Setup
167- uses: mongodb-labs/drivers-github-tools/setup@v2
166+ uses: mongodb-labs/drivers-github-tools/setup@v3
168167 with:
169168 ...
170169
@@ -186,12 +185,12 @@ It will create the file `$S3_ASSETS/authorized_publication.txt`
186185
187186` ` ` yaml
188187- name: Setup
189- uses: mongodb-labs/drivers-github-tools/setup@v2
188+ uses: mongodb-labs/drivers-github-tools/setup@v3
190189 with:
191190 ...
192191
193192- 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
195194 with:
196195 product_name: Mongo Python Driver
197196 release_version: ${{ github.ref_name }}
@@ -205,12 +204,12 @@ This action will download an Augmented SBOM file in `$RELEASE_ASSETS/sbom.json`.
205204
206205` ` ` yaml
207206- name: Setup
208- uses: mongodb-labs/drivers-github-tools/setup@v2
207+ uses: mongodb-labs/drivers-github-tools/setup@v3
209208 with:
210209 ...
211210
212211- name: Create SBOM
213- uses: mongodb-labs/drivers-github-tools/sbom@v2
212+ uses: mongodb-labs/drivers-github-tools/sbom@v3
214213 with:
215214 sbom_in_path: sbom.json
216215` ` `
@@ -223,12 +222,12 @@ working directory.
223222
224223` ` ` yaml
225224- name: Setup
226- uses: mongodb-labs/drivers-github-tools/setup@v2
225+ uses: mongodb-labs/drivers-github-tools/setup@v3
227226 with:
228227 ...
229228
230229- 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
232231` ` `
233232
234233# ## Compliance Report
@@ -238,12 +237,12 @@ called `ssdlc_compliance_report.md`.
238237
239238` ` ` yaml
240239- name: Setup
241- uses: mongodb-labs/drivers-github-tools/setup@v2
240+ uses: mongodb-labs/drivers-github-tools/setup@v3
242241 with:
243242 ...
244243
245244- name: Generate compliance report
246- uses: mongodb-labs/drivers-github-tools/compliance-report@v2
245+ uses: mongodb-labs/drivers-github-tools/compliance-report@v3
247246` ` `
248247
249248There 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
260259
261260` ` ` yaml
262261- name: Setup
263- uses: mongodb-labs/drivers-github-tools/setup@v2
262+ uses: mongodb-labs/drivers-github-tools/setup@v3
264263 with:
265264 ...
266265
267266- name: Generate SSDLC Reports
268- uses: mongodb-labs/drivers-github-tools/full-report@v2
267+ uses: mongodb-labs/drivers-github-tools/full-report@v3
269268 with:
270269 product_name: winkerberos
271270 release_version: ${{ inputs.version }}
@@ -280,12 +279,12 @@ be uploaded to the product's S3 bucket:
280279
281280` ` ` yaml
282281- name: Setup
283- uses: mongodb-labs/drivers-github-tools/setup@v2
282+ uses: mongodb-labs/drivers-github-tools/setup@v3
284283 with:
285284 ...
286285
287286- 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
289288 with:
290289 version: <release version>
291290 product_name: <product_name>
@@ -305,12 +304,12 @@ prerelease version, and push the changes.
305304
306305` ` ` yaml
307306- name: Setup
308- uses: mongodb-labs/drivers-github-tools/setup@v2
307+ uses: mongodb-labs/drivers-github-tools/setup@v3
309308 with:
310309 ...
311310
312311- name: Create Release Branch
313- uses: mongodb-labs/drivers-github-tools/create-branch@v2
312+ uses: mongodb-labs/drivers-github-tools/create-branch@v3
314313 with:
315314 # user inputs
316315 branch: ...
@@ -333,7 +332,7 @@ Push the commit and tag to the source branch unless `dry_run` is set.
333332
334333` ` ` yaml
335334- name: Setup
336- uses: mongodb-labs/drivers-github-tools/setup@v2
335+ uses: mongodb-labs/drivers-github-tools/setup@v3
337336 with:
338337 ...
339338
@@ -384,11 +383,11 @@ post-publish:
384383 security-events: write
385384 steps:
386385 - name: Setup
387- uses: mongodb-labs/drivers-github-tools/setup@v2
386+ uses: mongodb-labs/drivers-github-tools/setup@v3
388387 with:
389388 ...
390389
391- - uses: mongodb-labs/drivers-github-tools/python/post-publish@v2
390+ - uses: mongodb-labs/drivers-github-tools/python/post-publish@v3
392391 with:
393392 version: ${{ inputs.version }}
394393 following_version: ${{ inputs.following_version }}
@@ -411,7 +410,7 @@ Push the commit and tag to the source branch unless `dry_run` is set.
411410
412411` ` ` yaml
413412- name: Setup
414- uses: mongodb-labs/drivers-github-tools/setup@v2
413+ uses: mongodb-labs/drivers-github-tools/setup@v3
415414 with:
416415 ...
417416
@@ -460,11 +459,11 @@ post-publish:
460459 security-events: write
461460 steps:
462461 - name: Setup
463- uses: mongodb-labs/drivers-github-tools/setup@v2
462+ uses: mongodb-labs/drivers-github-tools/setup@v3
464463 with:
465464 ...
466465
467- - uses: mongodb-labs/drivers-github-tools/python-labs/post-publish@v2
466+ - uses: mongodb-labs/drivers-github-tools/python-labs/post-publish@v3
468467 with:
469468 following_version: ${{ inputs.following_version }}
470469 version_bump_script: ./.github/scripts/bump-version.sh
0 commit comments