Skip to content

Commit f8220a3

Browse files
use v2
1 parent 312d64c commit f8220a3

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/release-5.x.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ jobs:
6161
aws_secret_id: ${{ secrets.aws_secret_id }}
6262

6363
- name: "Generate Sarif Report"
64-
# TODO: Use v2 once it has been re-tagged to include this action
65-
uses: mongodb-labs/drivers-github-tools/code-scanning-export@main
64+
uses: mongodb-labs/drivers-github-tools/code-scanning-export@v2
6665
with:
6766
ref: 5.x
6867
output-file: sarif-report.json
@@ -75,7 +74,7 @@ jobs:
7574
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
7675
7776
- name: actions/publish_asset_to_s3
78-
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
77+
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@v2
7978
with:
8079
version: ${{ steps.get_version.outputs.package_version }}
8180
product_name: js-bson
@@ -109,7 +108,7 @@ jobs:
109108
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
110109
111110
- name: actions/publish_asset_to_s3
112-
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
111+
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@v2
113112
with:
114113
version: ${{ steps.get_version.outputs.package_version }}
115114
product_name: js-bson

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ jobs:
5959
aws_secret_id: ${{ secrets.aws_secret_id }}
6060

6161
- name: "Generate Sarif Report"
62-
# TODO: Use v2 once it has been re-tagged to include this action
63-
uses: mongodb-labs/drivers-github-tools/code-scanning-export@main
62+
uses: mongodb-labs/drivers-github-tools/code-scanning-export@v2
6463
with:
6564
ref: main
6665
output-file: sarif-report.json
@@ -73,7 +72,7 @@ jobs:
7372
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
7473
7574
- name: actions/publish_asset_to_s3
76-
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
75+
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@v2
7776
with:
7877
version: ${{ steps.get_version.outputs.package_version }}
7978
product_name: js-bson
@@ -107,7 +106,7 @@ jobs:
107106
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
108107
109108
- name: actions/publish_asset_to_s3
110-
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
109+
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@v2
111110
with:
112111
version: ${{ steps.get_version.outputs.package_version }}
113112
product_name: js-bson

0 commit comments

Comments
 (0)