Create ossf.yml

This commit is contained in:
Olga Fadeeva 2025-07-24 13:22:39 +02:00 committed by GitHub
parent ead86ccfd8
commit 9e9fa894c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

22
.github/workflows/ossf.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: OSSF Scorecard Weekly
on:
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at midnight UTC
workflow_dispatch:
jobs:
ossf-scorecard:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Publish OSSF Scorecard badge to README
uses: ossf/scorecard-action@v2
with:
publish_results: true
badge: true
branch: main
readme_path: README.md