2929 - run : |
3030 curl -X "POST" "https://dependency-track-sbom.corp.zoo.dev/api/v1/bom" \
3131 -H 'Content-Type: multipart/form-data' \
32- -H "X-Api-Key: ${{ secrets. DEPENDENCY_TRACK_AUTOMATION_API_KEY }} " \
32+ -H "X-Api-Key: $DEPENDENCY_TRACK_AUTOMATION_API_KEY" \
3333 -F "autoCreate=true" \
3434 -F "projectName=$PROJECT_NAME" \
3535 -F "projectVersion=$PROJECT_VERSION" \
@@ -38,22 +38,23 @@ jobs:
3838 env:
3939 PROJECT_NAME: ${{ github.repository }}
4040 PROJECT_VERSION: ${{ github.ref_name }}
41+ DEPENDENCY_TRACK_AUTOMATION_API_KEY: ${{ secrets.DEPENDENCY_TRACK_AUTOMATION_API_KEY }}
4142
4243 semgrep :
4344 runs-on : ubuntu-latest
4445 container :
45- image : semgrep/semgrep
46+ image : semgrep/semgrep:1.145.2
4647 steps :
4748 - uses : actions/checkout@v6
4849 with :
4950 fetch-depth : 0
5051 persist-credentials : false
51- - uses : KittyCAD/gha-workflows/.github/actions/semgrep-action@main
52+ - uses : KittyCAD/gha-workflows/.github/actions/semgrep-action@main # zizmor: ignore[unpinned-uses]
5253 id : semgrep
5354 with :
5455 show_results_in_pr : false
5556 results_format : json
56- - uses : KittyCAD/gha-workflows/.github/actions/upload-defectdojo@main
57+ - uses : KittyCAD/gha-workflows/.github/actions/upload-defectdojo@main # zizmor: ignore[unpinned-uses]
5758 with :
5859 dd_token : ${{ secrets.DEFECTDOJO_API_TOKEN }}
5960 report_path : ${{ steps.semgrep.outputs.results_file_path }}
@@ -67,12 +68,12 @@ jobs:
6768 with :
6869 fetch-depth : 0
6970 persist-credentials : false
70- - uses : KittyCAD/gha-workflows/.github/actions/zizmor-action@main
71+ - uses : KittyCAD/gha-workflows/.github/actions/zizmor-action@main # zizmor: ignore[unpinned-uses]
7172 id : zizmor
7273 with :
7374 results_format : sarif
7475 gh_token : ${{ secrets.GITHUB_TOKEN }}
75- - uses : KittyCAD/gha-workflows/.github/actions/upload-defectdojo@main
76+ - uses : KittyCAD/gha-workflows/.github/actions/upload-defectdojo@main # zizmor: ignore[unpinned-uses]
7677 with :
7778 dd_token : ${{ secrets.DEFECTDOJO_API_TOKEN }}
7879 report_path : ${{ steps.zizmor.outputs.results_file_path }}
0 commit comments