File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # https://github.com/ossf/scorecard-action
2+ name : Scorecard analysis
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ - dev
9+ schedule :
10+ # Weekly on Saturdays at 01:35 UTC (offset from other scheduled jobs)
11+ - cron : " 30 7 * * 1"
12+
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+ cancel-in-progress : true
16+
17+ permissions :
18+ contents : read
19+ actions : read # Required by Scorecard to evaluate workflow security posture
20+
21+ jobs :
22+ analysis :
23+ name : Scorecard analysis
24+ runs-on : ubuntu-latest
25+ permissions :
26+ security-events : write # Upload Scorecard SARIF to GitHub Code Scanning
27+ id-token : write # GitHub OIDC token used when publish_results is true
28+
29+ steps :
30+ - name : Checkout code
31+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
32+ with :
33+ persist-credentials : false
34+
35+ - name : Run analysis
36+ uses : ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
37+ with :
38+ results_file : results.sarif
39+ results_format : sarif
40+ publish_results : true
41+
42+ - name : Upload artifact
43+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
44+ with :
45+ name : SARIF file
46+ path : results.sarif
47+ retention-days : 5
48+
49+ - name : Upload to code-scanning
50+ uses : github/codeql-action/upload-sarif@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
51+ with :
52+ sarif_file : results.sarif
Original file line number Diff line number Diff line change 2222 <a href =" https://hub.docker.com/r/developmentseed/titiler " target =" _blank " >
2323 <img src="https://img.shields.io/docker/v/developmentseed/titiler?color=%2334D058&label=docker%20hub" alt="Docker">
2424 </a >
25+ <a href =" https://scorecard.dev/viewer/?uri=github.com/developmentseed/titiler " target =" _blank " >
26+ <img src="https://api.scorecard.dev/projects/github.com/developmentseed/titiler/badge" alt="OpenSSF Scorecard">
27+ </a >
2528</p >
2629
2730---
You can’t perform that action at this time.
0 commit comments