Skip to content

Commit 5d7bed3

Browse files
committed
Add OpenSSF Scorecard workflow
1 parent 407172f commit 5d7bed3

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,10 @@ jobs:
3030
- name: Run analysis
3131
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
3232
with:
33-
# file_mode: git
34-
publish_results: false
35-
# repo_token: ${{ secrets.SCORECARD_TOKEN }}
33+
publish_results: true
3634
results_file: results.sarif
3735
results_format: sarif
3836

39-
# - name: Upload artifact
40-
# uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
41-
# with:
42-
# name: SARIF file
43-
# path: results.sarif
44-
# retention-days: 5
45-
4637
- name: Upload to code scanning
4738
uses: github/codeql-action/upload-sarif@86b04fb0e47484f7282357688f21d5d0e32175fe # v3.29.0
4839
with:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ A GitHub Action that performs style checking and linting for Markdown/CommonMark
44

55
[![CI Workflow Status](https://github.com/nosborn/github-action-markdown-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/nosborn/github-action-markdown-cli/actions/workflows/ci.yml)
66
[![Release Workflow Status](https://github.com/nosborn/github-action-markdown-cli/actions/workflows/release.yml/badge.svg)](https://github.com/nosborn/github-action-markdown-cli/actions/workflows/release.yml)
7+
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/{owner}/{repo}/badge)](https://scorecard.dev/viewer/?uri=github.com/nosborn/github-actions-markdown-cli)
78

89
## Usage
910

0 commit comments

Comments
 (0)