@@ -25,15 +25,15 @@ jobs:
2525
2626 steps :
2727 - name : " Checkout code"
28- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@ v4
28+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2929 with :
3030 persist-credentials : false
3131
32- - name : " Run analysis "
33- uses : ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # pin@ v2.4.0
32+ - name : " Run ossf scorecard "
33+ uses : ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
3434 with :
35- results_file : results.sarif
3635 results_format : sarif
36+ results_file : ossf_results.sarif
3737 # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
3838 # - you want to enable the Branch-Protection check on a *public* repository, or
3939 # - you are installing Scorecard on a *private* repository
@@ -49,16 +49,42 @@ jobs:
4949 # of the value entered here.
5050 publish_results : true
5151
52+ - name : " Run poutine supply chain check"
53+ uses : boostsecurityio/poutine-action@84c0a0d32e8d57ae12651222be1eb15351429228 # v0.15.2
54+ with :
55+ format : sarif
56+ output : poutine_results.sarif
57+ publish_results : true
58+
59+ - name : Configure as safe directory
60+ run : git config --global --add safe.directory /__w/liboqs/liboqs
61+
5262 # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
5363 # format to the repository Actions tab.
54- - name : " Upload artifact"
55- uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # pin@ v4
64+ - name : " Upload poutine artifact"
65+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
5666 with :
57- name : SARIF file
58- path : results .sarif
67+ name : Poutine Results SARIF
68+ path : poutine_results .sarif
5969 retention-days : 28
70+
71+ # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
72+ # format to the repository Actions tab.
73+ - name : " Upload ossf artifact"
74+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
75+ with :
76+ name : OSSF Results SARIF
77+ path : ossf_results.sarif
78+ retention-days : 28
79+
80+ # Upload the results to GitHub's code scanning dashboard.
81+ - name : " Upload to poutine to code-scanning"
82+ uses : github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3
83+ with :
84+ sarif_file : poutine_results.sarif
85+
6086 # Upload the results to GitHub's code scanning dashboard.
61- - name : " Upload to code-scanning"
62- uses : github/codeql-action/upload-sarif@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # pin@ v3
87+ - name : " Upload to ossf to code-scanning"
88+ uses : github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3
6389 with :
64- sarif_file : results .sarif
90+ sarif_file : ossf_results .sarif
0 commit comments