Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
b7424c61
Unverified
Commit
b7424c61
authored
Jan 27, 2022
by
godofredoc
Committed by
GitHub
Jan 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create scorecards-analysis.yml (#97261)
Enables scorecards code scanning for the flutter repository.
parent
5d60049c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
scorecards-analysis.yml
.github/workflows/scorecards-analysis.yml
+55
-0
No files found.
.github/workflows/scorecards-analysis.yml
0 → 100644
View file @
b7424c61
name
:
Scorecards supply-chain security
on
:
# Only the default branch is supported.
branch_protection_rule
:
schedule
:
-
cron
:
'
16
5
*
*
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
actions
:
read
contents
:
read
steps
:
-
name
:
"
Checkout
code"
uses
:
actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
# v2.4.0
with
:
persist-credentials
:
false
-
name
:
"
Run
analysis"
uses
:
ossf/scorecard-action@c8416b0b2bf627c349ca92fc8e3de51a64b005cf
# v1.0.2
with
:
results_file
:
results.sarif
results_format
:
sarif
# Read-only PAT token. To create it,
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
repo_token
:
${{ secrets.SCORECARD_READ_TOKEN }}
# Publish the results 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).
-
name
:
"
Upload
artifact"
uses
:
actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
# v2.3.1
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
# v1.0.26
with
:
sarif_file
:
results.sarif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment