mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
Create ossf.yml
This commit is contained in:
parent
ead86ccfd8
commit
9e9fa894c8
22
.github/workflows/ossf.yml
vendored
Normal file
22
.github/workflows/ossf.yml
vendored
Normal 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
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user