-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (38 loc) · 1018 Bytes
/
openssf-scorecard.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright (c) Omar Boukli-Hacene. All rights reserved.
# Distributed under an MIT-style license that can be
# found in the LICENSE file.
# SPDX-License-Identifier: MIT
name: OpenSSF Scorecard supply chain security analysis
on:
branch_protection_rule:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: 33 1 * * 6
permissions: {}
jobs:
analyze:
name: Run OpenSSF Scorecard analysis
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Run analysis
uses: ossf/[email protected]
with:
results_file: openssf-scorecard.sarif
results_format: sarif
- name: Report analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: openssf-scorecard.sarif