Skip to content

Commit

Permalink
use v2
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jun 13, 2024
1 parent 312d64c commit f8220a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release-5.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ jobs:
aws_secret_id: ${{ secrets.aws_secret_id }}

- name: "Generate Sarif Report"
# TODO: Use v2 once it has been re-tagged to include this action
uses: mongodb-labs/drivers-github-tools/code-scanning-export@main
uses: mongodb-labs/drivers-github-tools/code-scanning-export@v2
with:
ref: 5.x
output-file: sarif-report.json
Expand All @@ -75,7 +74,7 @@ jobs:
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
- name: actions/publish_asset_to_s3
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@v2
with:
version: ${{ steps.get_version.outputs.package_version }}
product_name: js-bson
Expand Down Expand Up @@ -109,7 +108,7 @@ jobs:
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
- name: actions/publish_asset_to_s3
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@v2
with:
version: ${{ steps.get_version.outputs.package_version }}
product_name: js-bson
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ jobs:
aws_secret_id: ${{ secrets.aws_secret_id }}

- name: "Generate Sarif Report"
# TODO: Use v2 once it has been re-tagged to include this action
uses: mongodb-labs/drivers-github-tools/code-scanning-export@main
uses: mongodb-labs/drivers-github-tools/code-scanning-export@v2
with:
ref: main
output-file: sarif-report.json
Expand All @@ -73,7 +72,7 @@ jobs:
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
- name: actions/publish_asset_to_s3
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@v2
with:
version: ${{ steps.get_version.outputs.package_version }}
product_name: js-bson
Expand Down Expand Up @@ -107,7 +106,7 @@ jobs:
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
- name: actions/publish_asset_to_s3
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
uses: mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@v2
with:
version: ${{ steps.get_version.outputs.package_version }}
product_name: js-bson
Expand Down

0 comments on commit f8220a3

Please sign in to comment.