forked from protobom/sbom-convert
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from manifest-cyber/MFST-44
MFST-44: Eating our dogfood and drinking our champagne!
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Generate and Publish SBOM | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
|
||
permissions: | ||
id-token: write | ||
contents: read # This is required for actions/checkout@v2 | ||
|
||
jobs: | ||
generate-and-publish-sbom: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
|
||
# Generate and transmita copy of our generated SBOM to Manifest | ||
- name: Transmit generated SBOM to Manifest | ||
uses: manifest-cyber/manifest-github-action@main | ||
id: transmit | ||
with: | ||
# Generate an API key at https://app.manifestcyber.com/organization | ||
# Store the key as a secret in Github, and reference it below | ||
# Do not share this key - this allows the holder to upload SBOM's to Manifest on your behalf | ||
apiKey: ${{ secrets.MANIFEST_API_KEY }} | ||
|