Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tf-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benedikt Wildenhain
tf-build
Commits
358cfe84
Unverified
Commit
358cfe84
authored
Sep 13, 2022
by
Joyce
Committed by
GitHub
Sep 13, 2022
Browse files
Options
Downloads
Patches
Plain Diff
Create scorecards.yml
parent
9f2437c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/scorecards.yml
+54
-0
54 additions, 0 deletions
.github/workflows/scorecards.yml
with
54 additions
and
0 deletions
.github/workflows/scorecards.yml
0 → 100644
+
54
−
0
View file @
358cfe84
name
:
Scorecards supply-chain security
on
:
# Only the default branch is supported.
branch_protection_rule
:
schedule
:
-
cron
:
'
44
22
*
*
3'
push
:
branches
:
[
"
master"
]
# Declare default permissions as read only.
permissions
:
read-all
jobs
:
analysis
:
name
:
Scorecards analysis
runs-on
:
ubuntu-latest
permissions
:
# Needed to upload the results to code-scanning dashboard.
security-events
:
write
# Used to receive a badge.
id-token
:
write
steps
:
-
name
:
"
Checkout
code"
uses
:
actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
# tag=v3.0.0
with
:
persist-credentials
:
false
-
name
:
"
Run
analysis"
uses
:
ossf/scorecard-action@13ec8c77e8a5dae7e0a0d47bde3e3004df15d34f
# tag=v2.0.0
with
:
results_file
:
results.sarif
results_format
:
sarif
# Publish the results for public repositories to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`, regardless
# of the value entered here.
publish_results
:
true
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
-
name
:
"
Upload
artifact"
uses
:
actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
# tag=v3.0.0
with
:
name
:
SARIF file
path
:
results.sarif
retention-days
:
5
# Upload the results to GitHub's code scanning dashboard.
-
name
:
"
Upload
to
code-scanning"
uses
:
github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5
# tag=v1.0.26
with
:
sarif_file
:
results.sarif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment