File tree 2 files changed +55
-0
lines changed
2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Scorecards supply-chain security
2
+ on :
3
+ # Only the default branch is supported.
4
+ branch_protection_rule :
5
+ schedule :
6
+ - cron : ' 27 19 * * 4'
7
+ push :
8
+ branches : [ "main" ]
9
+
10
+ # Declare default permissions as read only.
11
+ permissions : read-all
12
+
13
+ jobs :
14
+ analysis :
15
+ name : Scorecards analysis
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ # Needed to upload the results to code-scanning dashboard.
19
+ security-events : write
20
+ # Used to receive a badge.
21
+ id-token : write
22
+
23
+ if : github.repository == 'pandas-dev/pandas' # don't run on forks
24
+
25
+ steps :
26
+ - name : " Checkout code"
27
+ uses : actions/checkout@v3
28
+ with :
29
+ persist-credentials : false
30
+
31
+ - name : " Run analysis"
32
+ uses : ossf/scorecard-action@v2
33
+ with :
34
+ results_file : results.sarif
35
+ results_format : sarif
36
+
37
+ # Publish the results for public repositories to enable scorecard badges. For more details, see
38
+ # https://github.com/ossf/scorecard-action#publishing-results.
39
+ publish_results : true
40
+
41
+ # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
42
+ # format to the repository Actions tab.
43
+ - name : " Upload artifact"
44
+ uses : actions/upload-artifact@v3
45
+ with :
46
+ name : SARIF file
47
+ path : results.sarif
48
+ retention-days : 5
49
+
50
+ # Upload the results to GitHub's code scanning dashboard.
51
+ - name : " Upload to code-scanning"
52
+ uses : github/codeql-action/upload-sarif@v1
53
+ with :
54
+ sarif_file : results.sarif
Original file line number Diff line number Diff line change 11
11
[ ![ Package Status] ( https://img.shields.io/pypi/status/pandas.svg )] ( https://pypi.org/project/pandas/ )
12
12
[ ![ License] ( https://img.shields.io/pypi/l/pandas.svg )] ( https://github.com/pandas-dev/pandas/blob/main/LICENSE )
13
13
[ ![ Coverage] ( https://codecov.io/github/pandas-dev/pandas/coverage.svg?branch=main )] ( https://codecov.io/gh/pandas-dev/pandas )
14
+ [ ![ OpenSSF Scorecard] ( https://api.securityscorecards.dev/projects/github.com/pandas-dev/pandas/badge )] ( https://api.securityscorecards.dev/projects/github.com/pandas-dev/pandas )
14
15
[ ![ Downloads] ( https://static.pepy.tech/personalized-badge/pandas?period=month&units=international_system&left_color=black&right_color=orange&left_text=PyPI%20downloads%20per%20month )] ( https://pepy.tech/project/pandas )
15
16
[ ![ Gitter] ( https://badges.gitter.im/Join%20Chat.svg )] ( https://gitter.im/pydata/pandas )
16
17
[ ![ Powered by NumFOCUS] ( https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A )] ( https://numfocus.org )
You can’t perform that action at this time.
0 commit comments