Skip to content
Open
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions .github/workflows/ossf.yml
Original file line number Diff line number Diff line change
@@ -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

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/google/googletest/badge)](https://securityscorecards.dev/viewer/?uri=github.com/google/googletest)

# GoogleTest

### Announcements
Expand Down