File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 68
68
product_name : node-kerberos
69
69
file : sarif-report.json
70
70
dry_run : ${{ needs.release_please.outputs.release_created == '' }}
71
+
72
+ upload_sbom_lite :
73
+ environment : release
74
+ runs-on : ubuntu-latest
75
+ needs : [release_please]
76
+ permissions :
77
+ # required for all workflows
78
+ security-events : write
79
+ id-token : write
80
+ contents : write
81
+
82
+ steps :
83
+ - uses : actions/checkout@v4
84
+ - name : Set up drivers-github-tools
85
+ uses : mongodb-labs/drivers-github-tools/setup@v2
86
+ with :
87
+ aws_region_name : us-east-1
88
+ aws_role_arn : ${{ secrets.aws_role_arn }}
89
+ aws_secret_id : ${{ secrets.aws_secret_id }}
90
+
91
+ - name : Get release version and release package file name
92
+ id : get_version
93
+ shell : bash
94
+ run : |
95
+ package_version=$(jq --raw-output '.version' package.json)
96
+ echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
97
+
98
+ - name : actions/publish_asset_to_s3
99
+ uses : mongodb-labs/drivers-github-tools/node/publish_asset_to_s3@main
100
+ with :
101
+ version : ${{ steps.get_version.outputs.package_version }}
102
+ product_name : node-mongodb-native
103
+ file : sbom.json
104
+ dry_run : ${{ needs.release_please.outputs.release_created == '' }}
You can’t perform that action at this time.
0 commit comments