-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let's see if it actually runs all of them this time
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Github Advanced Security Github Action | ||
# Github Advanced Security Github Action # TODO: remove, output was not high quality | ||
- name: Run Github Advanced Security Github Action | ||
if: always() | ||
uses: advanced-security/[email protected] | ||
|
@@ -30,7 +30,7 @@ jobs: | |
path: ${{steps.sbom.outputs.fileName }} | ||
name: "Github SBOM Generator Action.spdx.json" | ||
|
||
- name: Convert it into CycloneDX format | ||
- name: Convert it into CycloneDX format # TODO: remove, fails when trying to convert the previous output since it didn't follow spec | ||
if: always() | ||
run: docker run -t -v "${{steps.sbom.outputs.fileName }}":/tmp/sbom.spdx.json -v /tmp/ghas_action_sbom.cdx.json:/tmp/ghas_action_sbom.cdx.json cyclonedx/cyclonedx-cli:latest convert --input-file /tmp/sbom.spdx.json --output-file /tmp/ghas_action_sbom.cdx.json --input-format spdxjson --output-format json | ||
|
||
|
@@ -40,7 +40,7 @@ jobs: | |
path: /tmp/ghas_action_sbom.cdx.json | ||
name: "Github SBOM Generator Action SPDX.cdx.json" | ||
|
||
# Github Advanced Security CLI | ||
# Github Advanced Security CLI # TODO: we can apparently run into issues with rate limits if we hit the gh api too much. once we get rid of all the spurious ones, it should probably be fine but if not we might need to restrict it to just run against master or even just release. | ||
- name: Install Github CLI SBOM extension | ||
if: always() | ||
run: gh ext install advanced-security/gh-sbom | ||
|
@@ -84,5 +84,7 @@ jobs: | |
# Anchore Syft Github Action | ||
|
||
- run: ls | ||
if: always() | ||
|
||
- run: tree | ||
if: always() |