Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OSSF scorecard action #22

Merged
merged 2 commits into from
Jun 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/ossf-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Scorecards supply-chain security scan
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
# Weekly on Saturdays.
- cron: '33 1 * * 6'
push:
branches: [main]
workflow_dispatch:

# Declare default GITHUB_TOKEN permissions as read only.
permissions: read-all

jobs:
analysis:
uses: devops-actions/.github/.github/workflows/rw-ossf-scorecard.yml@main
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
id-token: write
actions: read
contents: read